StyleLabel class
Style Label. When the object is serialized out as xml, its qualified name is dgm:styleLbl.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Diagrams.StyleLabel
Namespace: DocumentFormat.OpenXml.Drawing.Diagrams
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
styleLbl (Style Label)
This element defines the actual style which is applied to a node in a diagram The style is referenced from within layout node. The style label contains formatting (without defining color) such as the 3D properties and text properties associated with a shape.
[Example: Consider the following example of a styleLbl in DiagramML:
<styleLbl name="node0"> <scene3d> <camera prst="orthographicFront"/> <lightRig rig="flat" dir="t"/> </scene3d> <sp3d prstMaterial="flat"> <bevelT w="120900" h="88900"/> <bevelB w="88900" h="31750" prst="angle"/> </sp3d> <txPr/> <style> <lnRef idx="0"> <scrgbClr r="0" g="0" b="0"/> </lnRef> <fillRef idx="3"> <scrgbClr r="0" g="0" b="0"/> </fillRef> <effectRef idx="2"> <scrgbClr r="0" g="0" b="0"/> </effectRef> <fontRef idx="minor"> <schemeClr val="lt1"/> </fontRef> </style> </styleLbl>
In this example we see a styleLbl defined which sets 3D properties for the scene, shape 3D properties, line, fill, effect and font properties. end example]
Parent Elements |
|---|
styleDef (§21.4.5.7) |
Child Elements | Subclause |
|---|---|
extLst (Extension List) | §21.4.2.13 |
scene3d (3-D Scene) | §21.4.5.5 |
sp3d (3-D Shape Properties) | §21.4.5.6 |
style (Shape Style) | §21.4.2.28 |
txPr (Text Properties) | §21.4.5.12 |
Attributes | Description |
|---|---|
name (Style Name) | The name of the style. This apears as the tooltip in the user interface. The possible values for this attribute are defined by the W3C XML Schema string datatype. |
[Note: The W3C XML Schema definition of this element’s content model (CT_StyleLabel) is located in §A.5.3. end note]
© ISO/IEC29500: 2008.