Пример #1
0
 public void SetCallback(string name, CGPDFOperatorCallback callback)
 {
     CGPDFOperatorTableSetCallback(handle, name, (scannerHandle, info) => {
         var scanner = new CGPDFScanner(scannerHandle);
         callback(scanner, info);
     });
 }
Пример #2
0
 public void SetCallback(string name, CGPDFOperatorCallback callback)
 {
     CGPDFOperatorTableSetCallback (handle, name, (scannerHandle, info) => {
         var scanner = new CGPDFScanner (scannerHandle);
         callback (scanner, info);
     });
 }