Поделиться через


StyleDefinitionTitle Class

Title.When the object is serialized out as xml, its qualified name is dgm:title.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Diagrams.StyleDefinitionTitle

Namespace:  DocumentFormat.OpenXml.Drawing.Diagrams
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Декларация
Public Class StyleDefinitionTitle _
    Inherits OpenXmlLeafElement
'Применение
Dim instance As StyleDefinitionTitle
public class StyleDefinitionTitle : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 редакция 1]

21.4.5.11 title (Title)

This element defines the title given to a style definition header. The title is simply a name for the style definition.

[Example: Consider the following example of title being used in DiagramML:

<styleDefHdr uniqueId="urn:quickstyle/3d1" minVer="12.0">
 <title val="My Title"/>
 <desc val="My Description"/>
     …
</styleDefHdr>

In this example we see the title being set to My Title. end example]

Parent Elements

styleDef (§21.4.5.7); styleDefHdr (§21.4.5.8)

Attributes

Description

lang (Natural Language)

The natural language of the title or description of this quick style.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

val (Description Value)

The string used for the description.

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_SDName) 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.

See Also

Reference

StyleDefinitionTitle Members

DocumentFormat.OpenXml.Drawing.Diagrams Namespace