public CGPDFContentStream(CGPDFPage page)
 {
     if (page == null)
     {
         throw new ArgumentNullException("page");
     }
     Handle = CGPDFContentStreamCreateWithPage(page.Handle);
 }
Example #2
0
 public void DrawPDFPage(CGPDFPage page)
 {
     CGContextDrawPDFPage(handle, page == null ? IntPtr.Zero : page.handle);
 }
 public CGPDFContentStream(CGPDFPage page)
     : base(CGPDFContentStreamCreateWithPage(Runtime.ThrowOnNull(page, nameof(page)).Handle), true)
 {
 }