Share via


Orientation element

The optional Orientation element indicates the desired orientation for printed pages of the job.

Orientation is defined in the namespace at this URI: https://schemas.microsoft.com/windows/2005/05/wdp/print and referenced by the prefix wprt. (This resource may not be available in some languages and countries.)

Usage

<wprt:Orientation>
  text
</wprt:Orientation>

Attributes

There are no attributes.

Text value

Required. Must be one of the following values:

  • Portrait
  • Landscape
  • ReversePortrait
  • ReverseLandscape
  • Any IHV-defined values

Child elements

There are no child elements.

Parent elements

Element Description

DocumentProcessing

Contains the requested processing attributes that are applicable at the document level.

Remarks

The WSD Print Service must support the Portrait and Landscape values. IHVs can extend the allowed values for this element.

See also

DocumentProcessing

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012