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