Click or drag to resize

IHtmlSettings Methods

The PdfPrinter.IHtmlSettings type exposes the following members.

Methods
  NameDescription
Public methodApply
Applies the configured print settings. You should call this method to regenerate the internal print preview using the configured settings and update the total page count to be printed.
(Inherited from IPrintSettings.)
Top
Extension Methods
  NameDescription
Public Extension MethodDisablePrintingBackgrounds<PdfPrinter.IHtmlSettings>
Disables printing background graphics.
(Defined by PrintBackgroundsExtensions.)
Public Extension MethodDisablePrintingHeaderFooter<PdfPrinter.IHtmlSettings>
Disables printing headers and footers.
(Defined by PrintHeaderFooterExtensions.)
Public Extension MethodDisablePrintingSelectionOnly<PdfPrinter.IHtmlSettings>
Disables printing only the selected content.
(Defined by PrintSelectionOnlyExtensions.)
Public Extension MethodEnablePrintingBackgrounds<PdfPrinter.IHtmlSettings>
Enables printing background graphics.
(Defined by PrintBackgroundsExtensions.)
Public Extension MethodEnablePrintingHeaderFooter<PdfPrinter.IHtmlSettings>
Enables printing headers and footers.
(Defined by PrintHeaderFooterExtensions.)
Public Extension MethodEnablePrintingSelectionOnly<PdfPrinter.IHtmlSettings>
Enables printing only the selected content.
(Defined by PrintSelectionOnlyExtensions.)
Public Extension MethodSetFooterTemplate<PdfPrinter.IHtmlSettings>
Sets the HTML to be displayed in the footer.
(Defined by FooterTemplateExtensions.)
Public Extension MethodSetHeaderTemplate<PdfPrinter.IHtmlSettings>
Sets the HTML to be displayed in the header.
(Defined by HeaderTemplateExtensions.)
Public Extension MethodSetOrientation<PdfPrinter.IHtmlSettings>
Sets the page orientation.
(Defined by OrientationExtensions.)
Public Extension MethodSetPageMargins<PdfPrinter.IHtmlSettings>
Configures the page margins for printing
(Defined by PageMarginsExtensions.)
Public Extension MethodSetPageRanges<PdfPrinter.IHtmlSettings>
Sets the collection of the page ranges to print.
(Defined by PageRangesExtensions.)
Public Extension MethodSetPagesPerSheet<PdfPrinter.IHtmlSettings>
Sets the number of pages per sheet.
(Defined by PagesPerSheetExtensions.)
Public Extension MethodSetPaperSize<PdfPrinter.IHtmlSettings>
Sets the paper size for printing.
(Defined by PaperSizeExtensions.)
Public Extension MethodSetPdfFilePath<PdfPrinter.IHtmlSettings>
Sets the full PDF file path.
(Defined by PdfFilePathExtensions.)
Public Extension MethodSetScaling<PdfPrinter.IHtmlSettings>
Sets the scaling for printing.
(Defined by ScalingExtensions.)
Top
See Also