ToAnchor class
Ending Anchor Point. When the object is serialized out as xml, its qualified name is cdr:to.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.ChartDrawing.MarkerType
DocumentFormat.OpenXml.Drawing.ChartDrawing.ToAnchor
Namespace: DocumentFormat.OpenXml.Drawing.ChartDrawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
to (Ending Anchor Point)
This element specifies the second anchor point for the drawing element. This is used to anchor the bottom and right sides of the shape within the spreadsheet. That is when the corresponding chart is adjusted, the shape is also adjusted.
[Example: Consider the following ChartDrawingML
<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 second anchor point being specified via the to element. end example]
Parent Elements |
|---|
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.