public PdfPrintDocument(IPdfDocument document, PdfPrintSettings settings) { if (document == null) { throw new ArgumentNullException("document"); } _document = 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)); }
public PrintDocument CreatePrintDocument(PdfPrintSettings settings) { return(Document.CreatePrintDocument(settings)); }