Share via


PageSetupProperties Class

Page Setup Properties.When the object is serialized out as xml, its qualified name is x:pageSetUpPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.PageSetupProperties

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class PageSetupProperties _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As PageSetupProperties
public class PageSetupProperties : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

18.3.1.65 pageSetUpPr (Page Setup Properties)

Page setup properties of the worksheet

Parent Elements

sheetPr (§18.3.1.82)

Attributes

Description

autoPageBreaks (Show Auto Page Breaks)

Flag indicating whether the sheet displays Automatic Page Breaks.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

fitToPage (Fit To Page)

Flag indicating whether the Fit to Page print option is enabled.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_PageSetUpPr) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

PageSetupProperties Members

DocumentFormat.OpenXml.Spreadsheet Namespace