RelativeAnchorSize class

Office 2013 and later

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

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)

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: