LineReference class
Defines the LineReference Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is cs:lnRef.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2013.Drawing.ChartStyle.StyleReference
DocumentFormat.OpenXml.Office2013.Drawing.ChartStyle.LineReference
Namespace: DocumentFormat.OpenXml.Office2013.Drawing.ChartStyle
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.5.93 CT_StyleReference
Target namespace: http://schemas.microsoft.com/office/drawing/2012/chartStyle
Referenced by: CT_StyleEntry
A reference to the document's theme style matrix.<154> This element is identical to CT_StyleMatrixReference ([ISO/IEC-29500-1] section A.4.1) but also allows for a CT_StyleColor (section 2.5.92) element and a modifier list.
Child Elements:
scrgbClr: A CT_ScRgbColor ([ISO/IEC-29500-1] section A.4.1) element that specifies a color using the red-green-blue (RGB) color model. See ([ISO/IEC-29500-1] section 20.1.2.3.30).
srgbClr: A CT_SRgbColor ([ISO/IEC-29500-1] section A.4.1) element that specifies a color using the RGB color model. See ([ISO/IEC-29500-1] section 20.1.2.3.32).
hslClr: A CT_HslColor ([ISO/IEC-29500-1] section A.4.1) element that specifies a color using the HSL color model. See ([ISO/IEC-29500-1] section 20.1.2.3.13).
sysClr: A CT_SystemColor ([ISO/IEC-29500-1] section A.4.1) element that specifies a color bound to predefined operating system elements. See ([ISO/IEC-29500-1] section 20.1.2.3.33).
schemeClr: A CT_SchemeColor ([ISO/IEC-29500-1] section A.4.1) element that specifies a color bound to a user's theme. See ([ISO/IEC-29500-1] section 20.1.2.3.29).
prstClr: A CT_PresetColor ([ISO/IEC-29500-1] section A.4.1) element that specifies a color which is bound to one of a predefined collection of colors. See ([ISO/IEC-29500-1] section 20.1.2.3.22).
styleClr: A CT_StyleColor element that specifies a color calculated from a CT_ColorStyle.
Attributes:
idx: An ST_StyleMatrixColumnIndex ([ISO/IEC-29500-1] section 20.1.10.57) attribute that specifies the style matrix index of the style referred to.
mods: An ST_StyleReferenceModifierList attribute that specifies a list of modifiers for this reference.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_StyleReference">
<xsd:sequence>
<xsd:group ref="a:EG_ColorChoice" minOccurs="0" maxOccurs="1"/>
<xsd:element name="styleClr" type="CT_StyleColor" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="idx" type="a:ST_StyleMatrixColumnIndex" use="required"/>
<xsd:attribute name="mods" type="ST_StyleReferenceModifierList" use="optional"/>
</xsd:complexType>
See section 5.15 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).