Member variable CoreWebView2PrintSettings():Duplex Foundation

Controls duplex (two-sided) printing.

Attribute: VAR EXPORTED
Data type: Numeric (NIL)
Description

This member variable determines whether and how content is printed on both sides of the paper. The availability of duplex printing depends on the printer's capabilities. Long edge binding is typically used for portrait documents (flip pages like a book), while short edge binding is typically used for landscape documents (flip pages like a calendar).

The possible values are:

0 = Use printer's default duplex setting

1 = One-sided printing

2 = Two-sided printing with long edge binding

3 = Two-sided printing with short edge binding

Note that the :Duplex setting is ignored when using XbpHTMLViewer2():printToFile().

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.