ColorTransformStyleLabel Class
Style Label.When the object is serialized out as xml, its qualified name is dgm:styleLbl.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Diagrams.ColorTransformStyleLabel
Namespace: DocumentFormat.OpenXml.Drawing.Diagrams
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(TextLineColorList))> _
<ChildElementInfoAttribute(GetType(TextEffectColorList))> _
<ChildElementInfoAttribute(GetType(FillColorList))> _
<ChildElementInfoAttribute(GetType(LineColorList))> _
<ChildElementInfoAttribute(GetType(EffectColorList))> _
<ChildElementInfoAttribute(GetType(TextFillColorList))> _
Public Class ColorTransformStyleLabel _
Inherits OpenXmlCompositeElement
用法
Dim instance As ColorTransformStyleLabel
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(TextLineColorList))]
[ChildElementInfoAttribute(typeof(TextEffectColorList))]
[ChildElementInfoAttribute(typeof(FillColorList))]
[ChildElementInfoAttribute(typeof(LineColorList))]
[ChildElementInfoAttribute(typeof(EffectColorList))]
[ChildElementInfoAttribute(typeof(TextFillColorList))]
public class ColorTransformStyleLabel : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
FillColorList <dgm:fillClrLst>
LineColorList <dgm:linClrLst>
EffectColorList <dgm:effectClrLst>
TextLineColorList <dgm:txLinClrLst>
TextFillColorList <dgm:txFillClrLst>
TextEffectColorList <dgm:txEffectClrLst>
ExtensionList <dgm:extLst>
[ISO/IEC 29500-1 第 1 个版本]
21.4.4.10 styleLbl (Style Label)
This element defines a style label. The style label is used to define a color transform that is applied to a given node in a diagram.
[Example: Consider the following example of a styleLbl in DiagramML:
<dgm:styleLbl name="exampleStyleLabel">
<dgm:fillClrLst>
<a:schemeClr val="accent2"/>
<a:schemeClr val="accent3"/>
</dgm:fillClrLst>
<dgm:linClrLst meth="repeat">
<a:schemeClr val="lt1"/>
</dgm:linClrLst>
<dgm:effectClrLst/>
<dgm:txLinClrLst/>
<dgm:txFillClrLst/>
<dgm:txEffectClrLst/>
</dgm:styleLbl>
In this example we see a style label defined in its entirety. This style label can be used on a layout node in order to define the color transform that is to be applied to the node. end example]
Parent Elements |
---|
colorsDef (§21.4.4.3) |
Child Elements |
Subclause |
---|---|
effectClrLst (Effect Color List) |
§21.4.4.7 |
extLst (Extension List) |
§21.4.2.13 |
fillClrLst (Fill Color List) |
§21.4.4.8 |
linClrLst (Line Color List) |
§21.4.4.9 |
txEffectClrLst (Text Effect Color List) |
§21.4.4.12 |
txFillClrLst (Text Fill Color List) |
§21.4.4.13 |
txLinClrLst (Text Line Color List) |
§21.4.4.14 |
Attributes |
Description |
---|---|
name (Name) |
A name given to the style label. This name can be referenced by layout nodes in order to apply the style label to the layout node. [Example: Consider the following example of a styleLbl in DiagramML:
In this example we see a style label defined with the name exampleStyleLabel defined. end example] 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_CTStyleLabel) is located in §A.5.3. end note]
© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。
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.