Freigeben über


LineDefault-Klasse

Line Default.When the object is serialized out as xml, its qualified name is a:lnDef.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.DefaultShapeDefinitionType
        DocumentFormat.OpenXml.Drawing.LineDefault

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

Syntax

'Declaration
Public Class LineDefault _
    Inherits DefaultShapeDefinitionType
'Usage
Dim instance As LineDefault
public class LineDefault : DefaultShapeDefinitionType

Hinweise

The following table lists the possible child types:

  • ShapeProperties <a:spPr>

  • BodyProperties <a:bodyPr>

  • ListStyle <a:lstStyle>

  • ShapeStyle <a:style>

  • ExtensionList <a:extLst>

[ISO/IEC 29500-1 1. Ausgabe]

20.1.4.1.20 lnDef (Line Default)

This element defines a default line that is used within a document.

[Example: Consider the following example of a default line defined in DrawingML:

<lnDef>
<spPr/>
<bodyPr/>
<lstStyle/>
  <style>
<lnRef idx="1">
<schemeClr val="accent2"/>
</lnRef>
    <fillRef idx="0">
<schemeClr val="accent2"/>
</fillRef>
    <effectRef idx="0">
<schemeClr val="accent2"/>
</effectRef>
    <fontRef idx="minor">
<schemeClr val="tx1"/>
</fontRef>
</style>
</lnDef>

In this example, we see that the default line for the document is being defined as a themed line which references the subtle line style with idx equal to 1. end example]

Parent Elements

objectDefaults (§20.1.6.7)

Child Elements

Subclause

bodyPr (Body Properties)

§21.1.2.1.1

extLst (Extension List)

§20.1.2.2.15

lstStyle (Text List Styles)

§21.1.2.4.12

spPr (Shape Properties)

§20.1.2.2.35

style (Shape Style)

§20.1.2.2.37

[Note: The W3C XML Schema definition of this element's content model (CT_DefaultShapeDefinition) is located in §A.4.1. end note]

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

LineDefault-Member

DocumentFormat.OpenXml.Drawing-Namespace