public PdfPrintDocument(IPdfDocument document, PdfPrintSettings settings)
        {
            if (document == null)
            {
                throw new ArgumentNullException("document");
            }

            _document = document;
            _settings = settings;
        }
Exemple #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));
 }