Share via


LevelReference class

Defines the LevelReference Class.This class is only available in O15. When the object is serialized out as xml, its qualified name is c15:levelRef.

Inheritance hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office15.Drawing.Chart.LevelReference

Namespace:  DocumentFormat.OpenXml.Office15.Drawing.Chart
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(SequenceOfReferences), FileFormatVersions.Office15)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office15)> _
Public Class LevelReference _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As LevelReference
[ChildElementInfoAttribute(typeof(SequenceOfReferences), FileFormatVersions.Office15)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office15)]
public class LevelReference : OpenXmlCompositeElement

Remarks

2.3.37 levelRef

Target namespace: https://schemas.microsoft.com/office/drawing/2012/chart

A CT_LevelRef element that specifies the data source reference for the currently selected label level for a chart ([ISO/IEC-29500-1] section 21.2) category axis or a chart ([ISO/IEC-29500-1] section 21.2) series title.

This reference is in the form of a book, sheet, and cell reference. This reference does not include the equals sign.

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

<xsd:element name="levelRef" type="CT_LevelRef"/>

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

2.5.62 CT_LevelRef

Target namespace: https://schemas.microsoft.com/office/drawing/2012/chart

Referenced by: levelRef

A complex type that specifies the data source reference for the currently selected label level for a chart ([ISO/IEC-29500-1] section 21.2) category axis or a chart ([ISO/IEC-29500-1] section 21.2) series title.

This reference is in the form of a book, sheet, and cell reference. This reference does not include the equals sign.

Child Elements:

sqref: A string [TYPE HERE: Needs normative reference] element that specifies [TYPE HERE]

<<REVIEW>>Contains the ref for the selected caption level for part of a chart.<<REVIEW>>

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

<xsd:complexType name="CT_LevelRef">

<xsd:sequence>

<xsd:element name="sqref" type="xsd:string" minOccurs="1" maxOccurs="1"/>

</xsd:sequence>

</xsd:complexType>

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

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

LevelReference members

DocumentFormat.OpenXml.Office15.Drawing.Chart namespace