Skip to main content
PrintTaskOptions.Orientation | orientation property

Gets or sets the orientation option for the print task.

Syntax


var orientation = printTaskOptions.orientation;
printTaskOptions.orientation = orientation;

public PrintOrientation Orientation { get; set; }

Public Property Orientation As PrintOrientation

public:
property PrintOrientation Orientation { 
   PrintOrientation get();
   void set (PrintOrientation value);
}

Property value

Type: PrintOrientation

The orientation for the print task.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0 [for Xbox, see UWP features that aren't yet supported on Xbox]

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