public CGPDFScanner(CGPDFContentStream cs, CGPDFOperatorTable table, object userInfo) { if (cs == null) throw new ArgumentNullException ("cs"); if (table == null) throw new ArgumentNullException ("table"); info = userInfo; gch = GCHandle.Alloc (this); Handle = CGPDFScannerCreate (cs.Handle, table.Handle, GCHandle.ToIntPtr (gch)); }
public CGPDFScanner(CGPDFContentStream cs, CGPDFOperatorTable table, object userInfo) { if (cs == null) { throw new ArgumentNullException("cs"); } if (table == null) { throw new ArgumentNullException("table"); } info = userInfo; gch = GCHandle.Alloc(this); Handle = CGPDFScannerCreate(cs.Handle, table.Handle, GCHandle.ToIntPtr(gch)); }