Freigeben über


Legend-Klasse

Legend.When the object is serialized out as xml, its qualified name is c:legend.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Charts.Legend

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(TextProperties))> _
<ChildElementInfoAttribute(GetType(Layout))> _
<ChildElementInfoAttribute(GetType(Overlay))> _
<ChildElementInfoAttribute(GetType(ChartShapeProperties))> _
<ChildElementInfoAttribute(GetType(LegendPosition))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(LegendEntry))> _
Public Class Legend _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Legend
[ChildElementInfoAttribute(typeof(TextProperties))]
[ChildElementInfoAttribute(typeof(Layout))]
[ChildElementInfoAttribute(typeof(Overlay))]
[ChildElementInfoAttribute(typeof(ChartShapeProperties))]
[ChildElementInfoAttribute(typeof(LegendPosition))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(LegendEntry))]
public class Legend : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • LegendPosition <c:legendPos>

  • LegendEntry <c:legendEntry>

  • Layout <c:layout>

  • Overlay <c:overlay>

  • ChartShapeProperties <c:spPr>

  • TextProperties <c:txPr>

  • ExtensionList <c:extLst>

[ISO/IEC 29500-1 1. Ausgabe]

21.2.2.93 legend (Legend)

This element specifies the legend.

Parent Elements

chart (§21.2.2.27)

Child Elements

Subclause

extLst (Chart Extensibility)

§21.2.2.64

layout (Layout)

§21.2.2.88

legendEntry (Legend Entry)

§21.2.2.94

legendPos (Legend Position)

§21.2.2.95

overlay (Overlay)

§21.2.2.132

spPr (Shape Properties)

§21.2.2.197

txPr (Text Properties)

§21.2.2.216

[Note: The W3C XML Schema definition of this element's content model (CT_Legend) is located in §A.5.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

Legend-Member

DocumentFormat.OpenXml.Drawing.Charts-Namespace