FromAnchor Class
Starting Anchor Point.When the object is serialized out as xml, its qualified name is cdr:from.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.ChartDrawing.MarkerType
DocumentFormat.OpenXml.Drawing.ChartDrawing.FromAnchor
Namespace: DocumentFormat.OpenXml.Drawing.ChartDrawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Class FromAnchor _
Inherits MarkerType
'Usage
Dim instance As FromAnchor
public class FromAnchor : MarkerType
Remarks
The following table lists the possible child types:
XPosition <cdr:x>
YPosition <cdr:y>
[ISO/IEC 29500-1 1st Edition]
21.3.2.11 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> </cdr:to> <cdr:sp macro="" textlink=""> … </cdr:sp> </cdr:relSizeAnchor>
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.