public bool GetStream(int idx, out CGPDFStream result) { IntPtr ptr; var r = CGPDFArrayGetStream(handle, (IntPtr)idx, out ptr); if (!r) { result = null; return(false); } result = new CGPDFStream(ptr); return(true); }
public bool GetStream(string key, out CGPDFStream result) { if (key == null) { throw new ArgumentNullException("key"); } IntPtr ptr; var r = CGPDFDictionaryGetStream(handle, key, out ptr); if (!r) { result = null; return(false); } result = new CGPDFStream(ptr); return(true); }
public bool GetStream (string key, out CGPDFStream result) { if (key == null) throw new ArgumentNullException ("key"); IntPtr ptr; var r = CGPDFDictionaryGetStream (handle, key, out ptr); if (!r){ result = null; return false; } result = new CGPDFStream (ptr); return true; }
public bool GetStream(int idx, out CGPDFStream result) { IntPtr ptr; var r = CGPDFArrayGetStream (handle, (IntPtr) idx, out ptr); if (!r){ result = null; return false; } result = new CGPDFStream (ptr); return true; }