Freigeben über


Style-Klasse

Shape Style.When the object is serialized out as xml, its qualified name is cdr:style.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.ChartDrawing.Style

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(EffectReference))> _
<ChildElementInfoAttribute(GetType(FontReference))> _
<ChildElementInfoAttribute(GetType(FillReference))> _
<ChildElementInfoAttribute(GetType(LineReference))> _
Public Class Style _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Style
[ChildElementInfoAttribute(typeof(EffectReference))]
[ChildElementInfoAttribute(typeof(FontReference))]
[ChildElementInfoAttribute(typeof(FillReference))]
[ChildElementInfoAttribute(typeof(LineReference))]
public class Style : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Drawing.LineReference <a:lnRef>

  • DocumentFormat.OpenXml.Drawing.FillReference <a:fillRef>

  • DocumentFormat.OpenXml.Drawing.EffectReference <a:effectRef>

  • DocumentFormat.OpenXml.Drawing.FontReference <a:fontRef>

[ISO/IEC 29500-1 1. Ausgabe]

21.3.2.24 style (Shape Style)

The element specifies the style that is applied to a shape and the corresponding references for each of the style components such as lines and fills.

Parent Elements

cxnSp (§21.3.2.9); pic (§21.3.2.20); sp (§21.3.2.22)

Child Elements

Subclause

effectRef (Effect Reference)

§20.1.4.2.8

fillRef (Fill Reference)

§20.1.4.2.10

fontRef (Font Reference)

§20.1.4.1.17

lnRef (Line Reference)

§20.1.4.2.19

[Note: The W3C XML Schema definition of this element's content model (CT_ShapeStyle) 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

Style-Member

DocumentFormat.OpenXml.Drawing.ChartDrawing-Namespace