Share via


StandardPrintTaskOptions.HolePunch Property

Definition

Gets the canonical name for the hole punch option of the print task.

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

Property Value

String

Platform::String

winrt::hstring

The canonical name for the hole punch option of the print task.

Remarks

Use this property to get the canonical name to add or remove the hole punch option from the PrintTaskOptions.DisplayedOptions list to indicate whether the hole punch 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 hole punch capability.

Applies to

See also