PdfPrintSettings Class |
Namespace: CefSharp
The PdfPrintSettings type exposes the following members.
| Name | Description | |
|---|---|---|
| PdfPrintSettings | Initializes a new instance of the PdfPrintSettings class |
| Name | Description | |
|---|---|---|
| BackgroundsEnabled |
Set to true to print background graphics or false to not print
background graphics.
| |
| HeaderFooterEnabled |
Set to true to print headers and footers or false to not print
headers and footers.
| |
| HeaderFooterTitle |
Page title to display in the header. Only used if HeaderFooterEnabled
is set to true.
| |
| HeaderFooterUrl |
URL to display in the footer. Only used if HeaderFooterEnabled is set
to true.
| |
| Landscape |
Set to true for landscape mode or false for portrait mode.
| |
| MarginBottom |
Margin in points (1"/72). Only used if MarginType is set to Custom.
| |
| MarginLeft |
Margin in points (1"/72). Only used if MarginType is set to Custom.
| |
| MarginRight |
Margin in points (1"/72). Only used if MarginType is set to Custom.
| |
| MarginTop |
Margin in points (1"/72). Only used if MarginType is set to Custom.
| |
| MarginType |
Margin type.
| |
| PageHeight |
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.
| |
| PageWidth |
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.
| |
| ScaleFactor |
Scale the PDF by the specified amount, defaults to 100%.
| |
| SelectionOnly |
Set to true to print the selection only or false to print all.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |