public CGPDFContentStream(CGPDFPage page) { if (page == null) { throw new ArgumentNullException("page"); } Handle = CGPDFContentStreamCreateWithPage(page.Handle); }
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) { }