public bool GetArray(int idx, out CGPDFArray array) { IntPtr ptr; var r = CGPDFArrayGetArray (handle, idx, out ptr); array = r ? new CGPDFArray (ptr) : null; return r; }
public bool GetArray(int idx, out CGPDFArray array) { IntPtr ptr; var r = CGPDFArrayGetArray(handle, idx, out ptr); array = r ? new CGPDFArray(ptr) : null; return(r); }
public bool GetArray(string key, out CGPDFArray array) { if (key == null) { throw new ArgumentNullException("key"); } IntPtr ptr; var r = CGPDFDictionaryGetArray(handle, key, out ptr); array = r ? new CGPDFArray(ptr) : null; return(r); }
public bool TryGetValue(out CGPDFArray value) { IntPtr ip; if (CGPDFObjectGetValue(Handle, CGPDFObjectType.Array, out ip)) { value = new CGPDFArray(ip); return(true); } else { value = null; return(false); } }
public bool TryPop(out CGPDFArray value) { IntPtr ip; if (CGPDFScannerPopArray(Handle, out ip)) { value = new CGPDFArray(ip); return(true); } else { value = null; return(false); } }
public bool GetArray (string key, out CGPDFArray array) { if (key == null) throw new ArgumentNullException ("key"); IntPtr ptr; var r = CGPDFDictionaryGetArray (handle, key, out ptr); array = r ? new CGPDFArray (ptr) : null; return r; }
public bool TryGetValue(out CGPDFArray value) { IntPtr ip; if (CGPDFObjectGetValue (Handle, CGPDFObjectType.Array, out ip)) { value = new CGPDFArray (ip); return true; } else { value = null; return false; } }
public bool TryPop(out CGPDFArray value) { IntPtr ip; if (CGPDFScannerPopArray (Handle, out ip)) { value = new CGPDFArray (ip); return true; } else { value = null; return false; } }