Skip to main content

Windows Dev Center

PrintTaskOptions.HolePunch | holePunch property

Gets or sets the hole punch option of the print task.

Syntax


var holePunch = printTaskOptions.holePunch;
printTaskOptions.holePunch = holePunch;

public PrintHolePunch HolePunch { get; set; }

Public Property HolePunch As PrintHolePunch

public:
property PrintHolePunch HolePunch { 
   PrintHolePunch get();
   void set (PrintHolePunch value);
}

Property value

Type: PrintHolePunch

The hole punch option.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Graphics.Printing
Windows::Graphics::Printing [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Graphics.Printing
Windows::Graphics::Printing [C++]

Metadata

Windows.winmd

See also

PrintTaskOptions