Beispiel #1
0
 public PdfPrintDocument(PdfReader pdf)
 {
     this.pdf     = pdf;
     DocumentName = Path.GetFileName(pdf.Name);
 }             // ctor
Beispiel #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
Beispiel #3
0
 internal static PdfDestination Create(PdfReader pdf, IntPtr hDestination)
 => hDestination == IntPtr.Zero ? null : new PdfDestination(pdf, hDestination);
Beispiel #4
0
 internal static PdfAction Create(PdfReader pdf, IntPtr hAction)
 => hAction == IntPtr.Zero ? null : new PdfAction(pdf, hAction);
Beispiel #5
0
 public PdfProperties(PdfReader pdf)
 {
     this.pdf = pdf ?? throw new ArgumentNullException(nameof(pdf));
 }