public bool GetDictionary(int idx, out CGPDFDictionary result) { IntPtr res; var r = CGPDFArrayGetDictionary(handle, (IntPtr)idx, out res); if (!r) { result = null; return(false); } result = new CGPDFDictionary(res); return(true); }
public bool GetDictionary(string key, out CGPDFDictionary result) { if (key == null) { throw new ArgumentNullException("key"); } IntPtr res; var r = CGPDFDictionaryGetDictionary(handle, key, out res); if (!r) { result = null; return(false); } result = new CGPDFDictionary(res); return(true); }
public bool GetDictionary (string key, out CGPDFDictionary result) { if (key == null) throw new ArgumentNullException ("key"); IntPtr res; var r = CGPDFDictionaryGetDictionary (handle, key, out res); if (!r){ result = null; return false; } result = new CGPDFDictionary (res); return true; }
public bool GetDictionary (int idx, out CGPDFDictionary result) { IntPtr res; var r = CGPDFArrayGetDictionary (handle, (IntPtr) idx, out res); if (!r){ result = null; return false; } result = new CGPDFDictionary (res); return true; }