Jaa


StandardPrintTaskOptions.CustomPageRanges Property

Definition

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

public:
 static property Platform::String ^ CustomPageRanges { Platform::String ^ get(); };
static winrt::hstring CustomPageRanges();
public static string CustomPageRanges { get; }
var string = StandardPrintTaskOptions.customPageRanges;
Public Shared ReadOnly Property CustomPageRanges As String

Property Value

String

Platform::String

winrt::hstring

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