Click or drag to resize

PdfPrinter.IHtmlSettings Interface

The print settings available when printing HTML content on the PDF printer.

Namespace:  DotNetBrowser.Print
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.20.0
Syntax
C#
public interface IHtmlSettings : PdfPrinter.ISettings<PdfPrinter.IHtmlSettings>, 
	IPrintSettings, IPageRanges<PdfPrinter.IHtmlSettings>, IPagesPerSheet<PdfPrinter.IHtmlSettings>, 
	IPdfFilePath<PdfPrinter.IHtmlSettings>, IScaling<PdfPrinter.IHtmlSettings>, IPageMargins<PdfPrinter.IHtmlSettings>, 
	IPrintHeaderFooter<PdfPrinter.IHtmlSettings>, IOrientation<PdfPrinter.IHtmlSettings>, IPrintBackgrounds<PdfPrinter.IHtmlSettings>, 
	IPrintSelectionOnly<PdfPrinter.IHtmlSettings>, IPaperSize<PdfPrinter.IHtmlSettings>, IHeaderTemplate<PdfPrinter.IHtmlSettings>, 
	IFooterTemplate<PdfPrinter.IHtmlSettings>

The PdfPrinter.IHtmlSettings type exposes the following members.

Properties
  NameDescription
Public propertyFooterTemplate
Gets or sets the HTML to be displayed in the footer.
(Inherited from IFooterTemplate<TPrintSettings>.)
Public propertyHeaderTemplate
Gets or sets the HTML to be displayed in the header.
(Inherited from IHeaderTemplate<TPrintSettings>.)
Public propertyOrientation
Gets or sets the page orientation.
(Inherited from IOrientation<TPrintSettings>.)
Public propertyPageMargins
Gets or sets the page margins for printing.
(Inherited from IPageMargins<TPrintSettings>.)
Public propertyPageRanges
Gets or sets the collection of the page ranges to print.
(Inherited from IPageRanges<TPrintSettings>.)
Public propertyPagesPerSheet
Gets or sets the number of pages per sheet.
(Inherited from IPagesPerSheet<TPrintSettings>.)
Public propertyPaperSize
Gets or sets the paper size for printing.
(Inherited from IPaperSize<TPrintSettings>.)
Public propertyPdfFilePath
Gets or sets the full PDF file path.
(Inherited from IPdfFilePath<TPrintSettings>.)
Public propertyPrintingBackgroundsEnabled
Enables or disables printing background graphics.
(Inherited from IPrintBackgrounds<TPrintSettings>.)
Public propertyPrintingHeaderFooterEnabled
Enables or disables printing headers and footer.
(Inherited from IPrintHeaderFooter<TPrintSettings>.)
Public propertyPrintingSelectionOnlyEnabled
Enables or disables printing only the selected content.
(Inherited from IPrintSelectionOnly<TPrintSettings>.)
Public propertyScaling
Gets or sets the scaling for printing.
(Inherited from IScaling<TPrintSettings>.)
Top
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