Exemple #1
0
 public void Init(string aKey, string aDevCode)
 {
     if (!m_bDisposed)
     {
         throw new ApplicationException("PDFLib.Init");
     }
     if (PXCV_Error.IS_DS_FAILED(PXCV_Lib36.PXCV_Init(out m_Doc, aKey, aDevCode)))
     {
         throw new ApplicationException("PDFDoc.Init.PXCV_Init");
     }
     m_bDisposed = false;
 }
Exemple #2
0
 public void Init(string aKey, string aDevCode)
 {
     if (!b)
     {
         throw new ApplicationException("PDFLib.Init");
     }
     if (PXCV_Error.IS_DS_FAILED(PXCV_Lib36.PXCV_Init(out this.m_a, aKey, aDevCode)))
     {
         throw new ApplicationException("PDFDoc.Init.PXCV_Init");
     }
     b = false;
 }