StandardPrintTaskOptions.CustomPageRanges Property

Definition

Gets the canonical name for the custom page ranges option for the print task.

C#
public static string CustomPageRanges { get; }

Property Value

String

The canonical name for the custom page ranges option for the print task.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

Use this property to get the canonical name to add or remove the custom page ranges option from the PrintTaskOptions.DisplayedOptions list to indicate whether the custom page ranges option appears in the print preview UI. For more information, see Customize the print preview UI. This property only applies to printers that support the custom page ranges capability.

Applies to

Product Versions
WinRT Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100