Freigeben über


ToAnchor-Klasse

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

Vererbungshierarchie

System.Object
  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)

Syntax

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

Hinweise

The following table lists the possible child types:

  • XPosition <cdr:x>

  • YPosition <cdr:y>

[ISO/IEC 29500-1 1. Ausgabe]

21.3.2.25 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>
  </cdr:to>
  <cdr:sp macro="" textlink="">
  …
  </cdr:sp>
</cdr:relSizeAnchor>

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. 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

ToAnchor-Member

DocumentFormat.OpenXml.Drawing.ChartDrawing-Namespace