ColorsDefinitionHeader Class
Color Transform Header.When the object is serialized out as xml, its qualified name is dgm:colorsDefHdr.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Diagrams.ColorsDefinitionHeader
Namespace: DocumentFormat.OpenXml.Drawing.Diagrams
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
<ChildElementInfoAttribute(GetType(ColorDefinitionTitle))> _
<ChildElementInfoAttribute(GetType(ColorTransformDescription))> _
<ChildElementInfoAttribute(GetType(ColorTransformCategories))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class ColorsDefinitionHeader _
Inherits OpenXmlCompositeElement
'Применение
Dim instance As ColorsDefinitionHeader
[ChildElementInfoAttribute(typeof(ColorDefinitionTitle))]
[ChildElementInfoAttribute(typeof(ColorTransformDescription))]
[ChildElementInfoAttribute(typeof(ColorTransformCategories))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class ColorsDefinitionHeader : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
ColorDefinitionTitle <dgm:title>
ColorTransformDescription <dgm:desc>
ColorTransformCategories <dgm:catLst>
ExtensionList <dgm:extLst>
[ISO/IEC 29500-1 редакция 1]
21.4.4.4 colorsDefHdr (Color Transform Definition Header)
This element specifies header information associated with a color transform definition. The header information is used by an application to preprocess required data in order to help with possible performance concerns associated with an initial full load of a color transform definition.
[Example: Consider the following example of a colorsDefHdr within DiagramML:
<colorsDefHdr uniqueId="urn:colors/accent0_1">
<title val="Main 1" />
<desc val="" />
<catLst>
<cat type="mainScheme" pri="10100" />
</catLst>
</colorsDefHdr>
In this example we see a color transform definition header which defines a title and category for a set of color transforms. end example]
Parent Elements |
---|
colorsDefHdrLst (§21.4.4.5) |
Child Elements |
Subclause |
---|---|
catLst (Color Transform Category List) |
§21.4.4.2 |
desc (Description) |
§21.4.4.6 |
extLst (Extension List) |
§21.4.2.13 |
title (Title) |
§21.4.4.11 |
Attributes |
Description |
---|---|
minVer (Minimum Version) |
The minimum product version that can support the associated color transform definition. The possible values for this attribute are defined by the W3C XML Schema string datatype. |
resId (Resource ID) |
This attribute is the id which associates this header to the actual color transform definition. The possible values for this attribute are defined by the W3C XML Schema int datatype. |
uniqueId (Unique ID) |
This attribute defines a unique identifier for the associated color transform definition. 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_ColorTransformHeader) is located in §A.5.3. end note]
© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и 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.