示例#1
0
        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);
        }
示例#2
0
        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);
        }
示例#3
0
		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;
		}
示例#4
0
		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;
		}