public bool GetDictionary(int idx, out CGPDFDictionary result) { IntPtr res; var r = CGPDFArrayGetDictionary(handle, idx, out res); result = r ? new CGPDFDictionary(res) : null; return(r); }
public bool GetDictionary(string key, out CGPDFDictionary result) { if (key == null) { throw new ArgumentNullException("key"); } IntPtr res; var r = CGPDFDictionaryGetDictionary(handle, key, out res); result = r ? new CGPDFDictionary(res) : null; return(r); }
public bool TryGetValue(out CGPDFDictionary value) { IntPtr ip; if (CGPDFObjectGetValue(Handle, CGPDFObjectType.Dictionary, out ip)) { value = new CGPDFDictionary(ip); return(true); } else { value = null; return(false); } }
public bool TryPop(out CGPDFDictionary value) { IntPtr ip; if (CGPDFScannerPopDictionary(Handle, out ip)) { value = new CGPDFDictionary(ip); return(true); } else { value = null; return(false); } }
public bool GetDictionary (string key, out CGPDFDictionary result) { if (key == null) throw new ArgumentNullException ("key"); IntPtr res; var r = CGPDFDictionaryGetDictionary (handle, key, out res); result = r ? new CGPDFDictionary (res) : null; return r; }
public bool TryGetValue(out CGPDFDictionary value) { IntPtr ip; if (CGPDFObjectGetValue (Handle, CGPDFObjectType.Dictionary, out ip)) { value = new CGPDFDictionary (ip); return true; } else { value = null; return false; } }
public bool TryPop(out CGPDFDictionary value) { IntPtr ip; if (CGPDFScannerPopDictionary (Handle, out ip)) { value = new CGPDFDictionary (ip); return true; } else { value = null; return false; } }
public bool GetDictionary(int idx, out CGPDFDictionary result) { IntPtr res; var r = CGPDFArrayGetDictionary (handle, idx, out res); result = r ? new CGPDFDictionary (res) : null; return r; }