ICoreWebView2PrintSettings2.put_PagesPerSide

Set the PagesPerSide property. Returns E_INVALIDARG if an invalid value is provided, and the current value is not changed.

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. |

interface ICoreWebView2PrintSettings2
@" propput"
HRESULT
put_PagesPerSide
(
in INT32 value
)

Meta