예제 #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);
     });
 }