예제 #1
0
 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;
 }
예제 #2
0
        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);
        }
예제 #3
0
        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);
        }
예제 #4
0
        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;
        }
예제 #5
0
        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);
        }
예제 #6
0
 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;
 }