示例#1
0
 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");
     }
 }
示例#2
0
 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");
     }
 }