Freigeben über


ToMarker-Klasse

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

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Spreadsheet.MarkerType
        DocumentFormat.OpenXml.Drawing.Spreadsheet.ToMarker

Namespace:  DocumentFormat.OpenXml.Drawing.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class ToMarker _
    Inherits MarkerType
'Usage
Dim instance As ToMarker
public class ToMarker : MarkerType

Hinweise

The following table lists the possible child types:

  • ColumnId <xdr:col>

  • ColumnOffset <xdr:colOff>

  • RowId <xdr:row>

  • RowOffset <xdr:rowOff>

[ISO/IEC 29500-1 1. Ausgabe]

20.5.2.32 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:twoCellAnchor>
  <xdr:from>
    <xdr:col>3</xdr:col>
    <xdr:colOff>447675</xdr:colOff>
    <xdr:row>8</xdr:row>
    <xdr:rowOff>28575</xdr:rowOff>
  </xdr:from>
  <xdr:to>
    <xdr:col>5</xdr:col>
    <xdr:colOff>466725</xdr:colOff>
    <xdr:row>14</xdr:row>
    <xdr:rowOff>9525</xdr:rowOff>
  </xdr:to>
  <xdr:sp macro="" textlink="">
  …
  </xdr:sp>
  <xdr:clientData/>
</xdr:twoCellAnchor>

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

Parent Elements

anchor (§18.3.1.1); twoCellAnchor (§20.5.2.33)

Child Elements

Subclause

col (Column))

§20.5.2.10

colOff (Column Offset)

§20.5.2.11

row (Row)

§20.5.2.27

rowOff (Row Offset)

§20.5.2.28

[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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

ToMarker-Member

DocumentFormat.OpenXml.Drawing.Spreadsheet-Namespace