public void OpenFromIStream(IStream aIStream, Int32 flags) { if (m_bDisposed) { throw new ApplicationException("PDFDoc.OpenFromIStream"); } if (PXCV_Error.IS_DS_FAILED(PXCV_Lib36.PXCV_ReadDocumentFromIStream(m_Doc, aIStream, flags))) { throw new ApplicationException("PDFDoc.OpenFromPXCV_ReadDocumentFromIStream"); } }
public void OpenFromIStream(IStream aIStream, int flags) { if (b) { throw new ApplicationException("PDFDoc.OpenFromIStream"); } if (PXCV_Error.IS_DS_FAILED(PXCV_Lib36.PXCV_ReadDocumentFromIStream(this.m_a, aIStream, flags))) { throw new ApplicationException("PDFDoc.OpenFromPXCV_ReadDocumentFromIStream"); } }