Click or drag to resize

PdfPrintSettings Class

Version 100.0.140
Print to Pdf Settings
Inheritance Hierarchy
SystemObject
  CefSharpPdfPrintSettings

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 100.0.140.0 (100.0.140.0)
Syntax
public sealed class PdfPrintSettings

The PdfPrintSettings type exposes the following members.

Constructors
  NameDescription
Public methodPdfPrintSettings
Initializes a new instance of the PdfPrintSettings class
Top
Properties
  NameDescription
Public propertyBackgroundsEnabled
Set to true to print background graphics or false to not print background graphics.
Public propertyHeaderFooterEnabled
Set to true to print headers and footers or false to not print headers and footers.
Public propertyHeaderFooterTitle
Page title to display in the header. Only used if HeaderFooterEnabled is set to true.
Public propertyHeaderFooterUrl
URL to display in the footer. Only used if HeaderFooterEnabled is set to true.
Public propertyLandscape
Set to true for landscape mode or false for portrait mode.
Public propertyMarginBottom
Margin in points (1"/72). Only used if MarginType is set to Custom.
Public propertyMarginLeft
Margin in points (1"/72). Only used if MarginType is set to Custom.
Public propertyMarginRight
Margin in points (1"/72). Only used if MarginType is set to Custom.
Public propertyMarginTop
Margin in points (1"/72). Only used if MarginType is set to Custom.
Public propertyMarginType
Margin type.
Public propertyPageHeight
Output page size in microns. If either of these values is less than or equal to zero then the default paper size (A4) will be used.
Public propertyPageWidth
Output page size in microns. If either of these values is less than or equal to zero then the default paper size (A4) will be used.
Public propertyScaleFactor
Scale the PDF by the specified amount, defaults to 100%.
Public propertySelectionOnly
Set to true to print the selection only or false to print all.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also