コード例 #1
0
 public PdfPrintDocument(IPdfDocument document, PdfPrintSettings settings)
 {
     _document = document ?? throw new ArgumentNullException(nameof(document));
     _settings = settings;
 }
コード例 #2
0
 /// <summary>
 /// Creates a <see cref="PrintDocument"/> for the PDF document.
 /// </summary>
 /// <param name="settings">The settings used to configure the print document.</param>
 /// <returns></returns>
 public PrintDocument CreatePrintDocument(PdfPrintSettings settings)
 {
     return(new PdfPrintDocument(this, settings));
 }