Click or drag to resize

SystemPrinter.IHtmlSettings Interface

Print settings available when printing HTML content on a physical printer.

Namespace:  DotNetBrowser.Print
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.22.0
Syntax
C#
public interface IHtmlSettings : SystemPrinter.ISettings<SystemPrinter.IHtmlSettings>, 
	IPrintSettings, ICollate<SystemPrinter.IHtmlSettings>, IColorModel<SystemPrinter.IHtmlSettings>, 
	ICopies<SystemPrinter.IHtmlSettings>, IDuplexMode<SystemPrinter.IHtmlSettings>, IPageRanges<SystemPrinter.IHtmlSettings>, 
	IPagesPerSheet<SystemPrinter.IHtmlSettings>, IPaperSize<SystemPrinter.IHtmlSettings>, IScaling<SystemPrinter.IHtmlSettings>, 
	IPageMargins<SystemPrinter.IHtmlSettings>, IPrintHeaderFooter<SystemPrinter.IHtmlSettings>, IOrientation<SystemPrinter.IHtmlSettings>, 
	IPrintBackgrounds<SystemPrinter.IHtmlSettings>, IPrintSelectionOnly<SystemPrinter.IHtmlSettings>, IHeaderTemplate<SystemPrinter.IHtmlSettings>, 
	IFooterTemplate<SystemPrinter.IHtmlSettings>

The SystemPrinter.IHtmlSettings type exposes the following members.

Properties
  NameDescription
Public propertyCollatePrintingEnabled
Enables or disables collate printing.
(Inherited from ICollate<TPrintSettings>.)
Public propertyColorModel
Gets or sets the color model.
(Inherited from IColorModel<TPrintSettings>.)
Public propertyCopies
Gets or sets the number of copies to print.
(Inherited from ICopies<TPrintSettings>.)
Public propertyDuplexMode
Gets or sets the duplex mode.
(Inherited from IDuplexMode<TPrintSettings>.)
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 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 MethodDisableCollatePrinting<SystemPrinter.IHtmlSettings>
Disables collate printing.
(Defined by CollateExtensions.)
Public Extension MethodDisablePrintingBackgrounds<SystemPrinter.IHtmlSettings>
Disables printing background graphics.
(Defined by PrintBackgroundsExtensions.)
Public Extension MethodDisablePrintingHeaderFooter<SystemPrinter.IHtmlSettings>
Disables printing headers and footers.
(Defined by PrintHeaderFooterExtensions.)
Public Extension MethodDisablePrintingSelectionOnly<SystemPrinter.IHtmlSettings>
Disables printing only the selected content.
(Defined by PrintSelectionOnlyExtensions.)
Public Extension MethodEnableCollatePrinting<SystemPrinter.IHtmlSettings>
Enables collate printing.
(Defined by CollateExtensions.)
Public Extension MethodEnablePrintingBackgrounds<SystemPrinter.IHtmlSettings>
Enables printing background graphics.
(Defined by PrintBackgroundsExtensions.)
Public Extension MethodEnablePrintingHeaderFooter<SystemPrinter.IHtmlSettings>
Enables printing headers and footers.
(Defined by PrintHeaderFooterExtensions.)
Public Extension MethodEnablePrintingSelectionOnly<SystemPrinter.IHtmlSettings>
Enables printing only the selected content.
(Defined by PrintSelectionOnlyExtensions.)
Public Extension MethodSetColorModel<SystemPrinter.IHtmlSettings>
Sets the color model used for printing.
(Defined by ColorModelExtensions.)
Public Extension MethodSetCopies<SystemPrinter.IHtmlSettings>
Sets the number of copies to print.
(Defined by CopiesExtensions.)
Public Extension MethodSetDuplexMode<SystemPrinter.IHtmlSettings>
Sets the duplex mode.
(Defined by DuplexModeExtensions.)
Public Extension MethodSetFooterTemplate<SystemPrinter.IHtmlSettings>
Sets the HTML to be displayed in the footer.
(Defined by FooterTemplateExtensions.)
Public Extension MethodSetHeaderTemplate<SystemPrinter.IHtmlSettings>
Sets the HTML to be displayed in the header.
(Defined by HeaderTemplateExtensions.)
Public Extension MethodSetOrientation<SystemPrinter.IHtmlSettings>
Sets the page orientation.
(Defined by OrientationExtensions.)
Public Extension MethodSetPageMargins<SystemPrinter.IHtmlSettings>
Configures the page margins for printing
(Defined by PageMarginsExtensions.)
Public Extension MethodSetPageRanges<SystemPrinter.IHtmlSettings>
Sets the collection of the page ranges to print.
(Defined by PageRangesExtensions.)
Public Extension MethodSetPagesPerSheet<SystemPrinter.IHtmlSettings>
Sets the number of pages per sheet.
(Defined by PagesPerSheetExtensions.)
Public Extension MethodSetPaperSize<SystemPrinter.IHtmlSettings>
Sets the paper size for printing.
(Defined by PaperSizeExtensions.)
Public Extension MethodSetScaling<SystemPrinter.IHtmlSettings>
Sets the scaling for printing.
(Defined by ScalingExtensions.)
Top
See Also