CoreWebView2PrintSettings.PagesPerSide Property
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.
Prints multiple pages of a document on a single piece of paper. Choose from 1, 2, 4, 6, 9 or 16.
public int PagesPerSide { get; set; }
member this.PagesPerSide : int with get, set
Public Property PagesPerSide As Integer
Property Value
Remarks
The default value is 1.
If an invalid value is provided, ArgumentException is thrown.
Below examples shows print output for PagesPerSide and Duplex.
| PagesPerSide | Total pages | Two-sided printing | Result | | --- | --- | --- | --- | | 1 | 1 | - | 1 page on the front side. | | 2 | 1 | Yes | 1 page on the front side. | | 2 | 4 | - | 2 pages on the first paper and 2 pages on the next paper. | | 2 | 4 | Yes | 2 pages on the front side and 2 pages on back side. | | 4 | 4 | Yes | 4 pages on the front side. | | 4 | 8 | Yes | 4 pages on the front side and 4 pages on the back side. |