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