WorkbookProperties class

Office 2013 and later

Defines the WorkbookProperties Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is x15:workbookPr.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2013.Excel.WorkbookProperties

Namespace:  DocumentFormat.OpenXml.Office2013.Excel
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

[OfficeAvailabilityAttribute(FileFormatVersions.Office2013)]
public class WorkbookProperties : OpenXmlLeafElement

2.4.59 workbookPr

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main

A workbookPr15 element<36> is a CT_WorkbookPr15 element that specifies additional properties for a workbook. See section 2.2.4.10 for how this element integrates with the Office Open XML file formats specified in [ISO/IEC-29500-1].

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="workbookPr" type="CT_WorkbookPr"/>

See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.6.117 CT_WorkbookPr

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main

Referenced by: workbookPr

CT_WorkbookPr15 is a complex type that specifies additional properties for a workbook.<93>

Attributes:

chartTrackingRefBase: A Boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies how data point properties and datalabels in all charts ([ISO/IEC-29500-1] section 21.2) in this workbook behave.

Value

Meaning

True

Datapoint properties and datalabels ([MS-ODRAWXML] section 2.5.162) in all charts ([ISO/IEC-29500-1] section 21.2) in this workbook follow their reference.

False

Datapoint properties and datalabels ([MS-ODRAWXML] section 2.5.162) in all charts ([ISO/IEC-29500-1] section 21.2) in this workbook follow their position in the chart.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_WorkbookPr">

<xsd:attribute name="chartTrackingRefBase" type="xsd:boolean" default="false"/>

</xsd:complexType>

See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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