FromAnchor class

Office 2013 and later

Starting Anchor Point. When the object is serialized out as xml, its qualified name is cdr:from.

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]

from (Starting Anchor Point)

This element specifies the first anchor point for the drawing element. This is used to anchor the top and left sides of the shape within the chart. That is when the corresponding chart is adjusted, the shape is also adjusted.

[Example: Consider the following Chart Drawing content:

<cdr:relSizeAnchor>
  <cdr:from>
    <cdr:x>0.04583</cdr:x>
    <cdr:y>0.53125</cdr:y>
  </cdr:from>
  <cdr:to>
    <cdr:x>0.24583</cdr:x>
    <cdr:y>0.86458</cdr:y>
  </c
dr:to>
  <cdr:sp macro="" textlink="">
  …
  </c
dr:sp>
</cdr:relSize
Anchor>

The above example shows the first anchor point being specified via the from element. end example]

Parent Elements

absSizeAnchor (§21.3.2.1); relSizeAnchor (§21.3.2.21)

Child Elements

Subclause

x (Relative X Coordinate)

§21.3.2.27

y (Relative Y Coordinate)

§21.3.2.29

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