Freigeben über


RelativeAnchorSize-Klasse

Relative Anchor Shape Size.When the object is serialized out as xml, its qualified name is cdr:relSizeAnchor.

Vererbungshierarchie

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ConnectionShape))> _
<ChildElementInfoAttribute(GetType(ToAnchor))> _
<ChildElementInfoAttribute(GetType(GroupShape))> _
<ChildElementInfoAttribute(GetType(GraphicFrame))> _
<ChildElementInfoAttribute(GetType(FromAnchor))> _
<ChildElementInfoAttribute(GetType(Picture))> _
<ChildElementInfoAttribute(GetType(ContentPart), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(Shape))> _
Public Class RelativeAnchorSize _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As RelativeAnchorSize
[ChildElementInfoAttribute(typeof(ConnectionShape))]
[ChildElementInfoAttribute(typeof(ToAnchor))]
[ChildElementInfoAttribute(typeof(GroupShape))]
[ChildElementInfoAttribute(typeof(GraphicFrame))]
[ChildElementInfoAttribute(typeof(FromAnchor))]
[ChildElementInfoAttribute(typeof(Picture))]
[ChildElementInfoAttribute(typeof(ContentPart), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(Shape))]
public class RelativeAnchorSize : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • FromAnchor <cdr:from>

  • ToAnchor <cdr:to>

  • Shape <cdr:sp>

  • GroupShape <cdr:grpSp>

  • GraphicFrame <cdr:graphicFrame>

  • ConnectionShape <cdr:cxnSp>

  • Picture <cdr:pic>

  • DocumentFormat.OpenXml.Office2010.Drawing.ChartDrawing.ContentPart <cdr14:contentPart>

[ISO/IEC 29500-1 1. Ausgabe]

21.3.2.21 relSizeAnchor (Relative Anchor Shape Size)

This element specifies that the shape described here to reside within a chart should be sized based on relative anchor points. This is achieved via two elements. The from element specifies the top left corner of the shape bounding box in a RTL(right-to-left) implementation. The to element then specifies the bottom right corner of the shape bounding box in a RTL(right-to-left) implementation and thus the size of the shape.

Parent Elements

userShapes (§21.2.2.220)

Child Elements

Subclause

cxnSp (Connection Shape)

§21.3.2.9

from (Starting Anchor Point)

§21.3.2.11

graphicFrame (Graphic Frame)

§21.3.2.12

grpSp (Group Shape)

§21.3.2.13

pic (Picture)

§21.3.2.20

sp (Shape)

§21.3.2.22

to (Ending Anchor Point)

§21.3.2.25

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

RelativeAnchorSize-Member

DocumentFormat.OpenXml.Drawing.ChartDrawing-Namespace