orientation Attribute

Specifies the orientation when printing a view.

Type

xsd:NMTOKEN

Remarks

The orientation attribute is an optional attribute of the printSettings element.

Values include "portrait" and "landscape".

Example

The following is an example of the orientation attribute as it is used in the printSettings element:

<xsf:view name="View" caption="View">
   <xsf:printSettings
      header="Header text goes here."
      footer="Footer text goes here."
      orientation="portrait"      
      marginUnitsType="in"
      topMargin="1"
      leftMargin="2"
      rightMargin="2"
      bottomMargin="1"
   </xsf:printSettings>
   ...
</xsf:view>
©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp