Partager via


PrintSettings Class

Print Settings.When the object is serialized out as xml, its qualified name is c:printSettings.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Charts.PrintSettings

Namespace:  DocumentFormat.OpenXml.Drawing.Charts
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(HeaderFooter))> _
<ChildElementInfoAttribute(GetType(PageMargins))> _
<ChildElementInfoAttribute(GetType(PageSetup))> _
<ChildElementInfoAttribute(GetType(LegacyDrawingHeaderFooter))> _
Public Class PrintSettings _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As PrintSettings
[ChildElementInfoAttribute(typeof(HeaderFooter))]
[ChildElementInfoAttribute(typeof(PageMargins))]
[ChildElementInfoAttribute(typeof(PageSetup))]
[ChildElementInfoAttribute(typeof(LegacyDrawingHeaderFooter))]
public class PrintSettings : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • HeaderFooter <c:headerFooter>

  • PageMargins <c:pageMargins>

  • PageSetup <c:pageSetup>

  • LegacyDrawingHeaderFooter <c:legacyDrawingHF>

[ISO/IEC 29500-1 1st Edition]

21.2.2.148 printSettings (Print Settings)

This element specifies the print settings for the chart.

Parent Elements

chartSpace (§21.2.2.29)

Child Elements

Subclause

headerFooter (Header and Footer)

§21.2.2.79

pageMargins (Page Margins)

§21.2.2.133

pageSetup (Page Setup)

§21.2.2.134

[Note: The W3C XML Schema definition of this element’s content model (CT_PrintSettings) is located in §A.5.1. 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

PrintSettings Members

DocumentFormat.OpenXml.Drawing.Charts Namespace