# Layout element

Contains information related to page layout.

## Usage

    <Layout
    	Orientation="xsd:string"
    	CenterHorizontal="OneZeroType"
    	CenterVertical="OneZeroType"
    	StartPageNumber="xsd:string"
    />

## Element Information

Element type | Anonymous
Namespace | urn:schemas-microsoft-com:office:excel
Schema name | XML Spreadsheet 2000

## Elements and Attributes

### Parent Elements

Element | Description
--- | ---
PageSetup | Contains information related to settings for printing worksheets.

### Child Elements

None.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
Orientation | Anonymous | optional | Specifies whether the page orientation is portrait or landscape | Landscape Portrait
CenterHorizontal | OneZeroType | optional | Specifies whether the worksheet is centered horizontally on the page when it is printed. | 0 1
CenterVertical | OneZeroType | optional | Specifies whether the worksheet is centered vertically on the page when it is printed. | 0 1
StartPageNumber | xsd:string | optional | Specifies the first page number that will be used when the worksheet is printed. | See external namespace.

## Definition

    <xsd:element name="Layout" minOccurs="0" >
      <xsd:complexType>
        <xsd:attribute name="Orientation" use="optional" default="Portrait" form="qualified">
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:enumeration value="Landscape" />
              <xsd:enumeration value="Portrait" />
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:attribute>
        <xsd:attribute name="CenterHorizontal" use="optional" type="OneZeroType" default="0" form="qualified">
        </xsd:attribute>
        <xsd:attribute name="CenterVertical" use="optional" type="OneZeroType" default="0" form="qualified">
        </xsd:attribute>
        <xsd:attribute name="StartPageNumber" type="xsd:string" use="optional" default="1" form="qualified">
        </xsd:attribute>
      </xsd:complexType>
    </xsd:element>

©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