Compartilhar via


Position Class

Position.When the object is serialized out as xml, its qualified name is xdr:pos.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Spreadsheet.Position

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

Syntax

'Declaration
Public Class Position _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As Position
public class Position : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

20.5.2.26 pos (Position)

This element describes the position of a drawing element within a spreadsheet.

Parent Elements

absoluteAnchor (§20.5.2.1)

Attributes

Description

x (X-Axis Coordinate)

Namespace: .../drawingml/2006/main

Specifies a coordinate on the x-axis. The origin point for this coordinate shall be specified by the parent XML element.

[Example: Consider the following point on a basic wrapping polygon for a DrawingML object:

<… x="0" y="100" />

The x attribute defines an x-coordinate of 0. end example]

The possible values for this attribute are defined by the ST_Coordinate simple type (§20.1.10.16).

y (Y-Axis Coordinate)

Namespace: .../drawingml/2006/main

Specifies a coordinate on the x-axis. The origin point for this coordinate shall be specified by the parent XML element.

[Example: Consider the following point on a basic wrapping polygon for a DrawingML object:

<… x="0" y="100" />

The y attribute defines a y-coordinate of 100. end example]

The possible values for this attribute are defined by the ST_Coordinate simple type (§20.1.10.16).

[Note: The W3C XML Schema definition of this element’s content model (CT_Point2D) is located in §A.4.1. 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.

See Also

Reference

Position Members

DocumentFormat.OpenXml.Drawing.Spreadsheet Namespace