public CGContextPDF(CGDataConsumer dataConsumer, RectangleF mediaBox, CGPDFInfo info)
        {
            if (dataConsumer == null)
            {
                throw new ArgumentNullException("dataConsumer");
            }

            handle = CGPDFContextCreate(dataConsumer.Handle, ref mediaBox, info == null ? IntPtr.Zero : info.ToDictionary().Handle);
        }
		public CGContextPDF (CGDataConsumer dataConsumer, RectangleF mediaBox, CGPDFInfo info)
		{
			if (dataConsumer == null)
				throw new ArgumentNullException ("dataConsumer");
				
			handle = CGPDFContextCreate (dataConsumer.Handle, ref mediaBox, info == null ? IntPtr.Zero : info.ToDictionary ().Handle);
		}