StandardPrintTaskOptions.Orientation Property

Definition

Gets the canonical name for the orientation option of the print task.

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

Property Value

String

Platform::String

winrt::hstring

The canonical name for the orientation option of the print task.

Remarks

Use this property to get the canonical name to add or remove the orientation option from the PrintTaskOptions.DisplayedOptions list to indicate whether the orientation option appears in the print preview UI. For more information, see Customize the print preview UI.

Applies to

See also