Exemplo n.º 1
0
        public bool TryPop(out CGPDFObject value)
        {
            IntPtr ip;

            if (CGPDFScannerPopObject(Handle, out ip))
            {
                value = new CGPDFObject(ip);
                return(true);
            }
            else
            {
                value = null;
                return(false);
            }
        }
Exemplo n.º 2
0
 public bool TryPop(out CGPDFObject value)
 {
     IntPtr ip;
     if (CGPDFScannerPopObject (Handle, out ip)) {
         value = new CGPDFObject (ip);
         return true;
     } else {
         value = null;
         return false;
     }
 }
Exemplo n.º 3
0
        static void ApplyBridge(string key, IntPtr pdfObject, IntPtr info)
        {
            Action <string, object> callback = (Action <string, object>)GCHandle.FromIntPtr(info).Target;

            callback(key, CGPDFObject.FromHandle(pdfObject));
        }