public PdfPrintDocument(IPdfDocument document, PdfPrintSettings settings) { _document = document ?? throw new ArgumentNullException(nameof(document)); _settings = settings; }
/// <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)); }