Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ToMarker Class

Office 2010

Ending Anchor Point.When the object is serialized out as xml, its qualified name is xdr:to.

Namespace:  DocumentFormat.OpenXml.Drawing.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
public class ToMarker : MarkerType

The following table lists the possible child types:

  • ColumnId <xdr:col>

  • ColumnOffset <xdr:colOff>

  • RowId <xdr:row>

  • RowOffset <xdr:rowOff>

[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 cell that is specified in the to element is adjusted, the shape is also adjusted.

[Example: Consider the following SpreadsheetDrawingML

  <xdr:sp macro="" textlink="">

The above example shows the second anchor point being specified via the to element. end example]

Parent Elements

anchor (§; twoCellAnchor (§

Child Elements


col (Column))


colOff (Column Offset)


row (Row)


rowOff (Row Offset)


[Note: The W3C XML Schema definition of this element’s content model (CT_Marker) is located in §A.4.5. 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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.