Example #1
0
 public PdfPrintDocument(PdfReader pdf)
 {
     this.pdf     = pdf;
     DocumentName = Path.GetFileName(pdf.Name);
 }             // ctor
Example #2
0
 internal PdfBookmark(PdfReader pdf, PdfBookmark parent, IntPtr hBookmark)
 {
     this.pdf       = pdf ?? throw new ArgumentNullException(nameof(pdf));
     this.parent    = parent;
     this.hBookmark = hBookmark;
 }         // ctor
Example #3
0
 internal static PdfDestination Create(PdfReader pdf, IntPtr hDestination)
 => hDestination == IntPtr.Zero ? null : new PdfDestination(pdf, hDestination);
Example #4
0
 internal static PdfAction Create(PdfReader pdf, IntPtr hAction)
 => hAction == IntPtr.Zero ? null : new PdfAction(pdf, hAction);
Example #5
0
 public PdfProperties(PdfReader pdf)
 {
     this.pdf = pdf ?? throw new ArgumentNullException(nameof(pdf));
 }