Partager via


Offset Class

Offset.When the object is serialized out as xml, its qualified name is a:off.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Point2DType
        DocumentFormat.OpenXml.Drawing.Offset

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

Syntax

'Declaration
Public Class Offset _
    Inherits Point2DType
'Usage
Dim instance As Offset
public class Offset : Point2DType

Remarks

[ISO/IEC 29500-1 1st Edition]

20.1.7.4 off (Offset)

This element specifies the location of the bounding box of an object. Effects on an object are not included in this bounding box.

Parent Elements

xfrm (§21.3.2.28); xfrm (§20.1.7.5); xfrm (§20.1.7.6); xfrm (§20.5.2.36); xfrm (§19.3.1.53)

Attributes

Description

x (X-Axis Coordinate)

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)

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

Offset Members

DocumentFormat.OpenXml.Drawing Namespace