CoreWebView2PrintSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Settings used by the PrintToPdfAsync(String, CoreWebView2PrintSettings) method.
public class CoreWebView2PrintSettings
type CoreWebView2PrintSettings = class
Public Class CoreWebView2PrintSettings
- Inheritance
-
CoreWebView2PrintSettings
Properties
Collation |
Printer collation. |
ColorMode |
Printer color mode. |
Copies |
Number of copies to print. Minimum value is |
Duplex |
Printer duplex settings. |
FooterUri |
The URI in the footer if ShouldPrintHeaderAndFooter is |
HeaderTitle |
The title in the header if ShouldPrintHeaderAndFooter is |
MarginBottom |
The bottom margin in inches. |
MarginLeft |
The left margin in inches. |
MarginRight |
The right margin in inches. |
MarginTop |
The top margin in inches. |
MediaSize |
Printer media size. |
Orientation |
The orientation can be portrait or landscape. |
PageHeight |
The page height in inches. |
PageRanges |
Page range to print. Defaults to empty string, which means print all pages. |
PagesPerSide |
Prints multiple pages of a document on a single piece of paper. Choose from 1, 2, 4, 6, 9 or 16. |
PageWidth |
The page width in inches. |
PrinterName |
The name of the printer to use. |
ScaleFactor |
The scale factor is a value between 0.1 and 2.0. |
ShouldPrintBackgrounds |
|
ShouldPrintHeaderAndFooter |
|
ShouldPrintSelectionOnly |
|