Esempio n. 1
0
 public HPdfDoc()
 {
     HPDF_ErrorHandler error_handler =
         new HPDF_ErrorHandler(HPdfDoc.ErrorProc);
     hpdf = HPDF_New(error_handler, IntPtr.Zero);
     if (hpdf == IntPtr.Zero) {
     throw new Exception("cannot create HPdfDoc object.");
     }
 }
Esempio n. 2
0
 private static extern IntPtr HPDF_New(HPDF_ErrorHandler user_error_fn,
     IntPtr user_data);