Position Class
Comment Position.When the object is serialized out as xml, its qualified name is p:pos.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Presentation.Point2DType
DocumentFormat.OpenXml.Presentation.Position
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
Public Class Position _
Inherits Point2DType
'Применение
Dim instance As Position
public class Position : Point2DType
Remarks
[ISO/IEC 29500-1 редакция 1]
19.4.5 pos (Comment Position)
This element specifies the positioning information for the placement of a comment on a slide surface. In LTR versions of the generating application, this position information should refer to the upper left point of the comment shape. In RTL versions of the generating application, this position information should refer to the upper right point of the comment shape.
[Note: The anchoring point on the slide surface is unaffected by a right-to-left or left-to-right layout change. That is the anchoring point remains the same for all language versions. end note]
[Note: Because there is no specified size or formatting for comments, this UI widget used to display a comment can be any size and thus the lower right point of the comment shape is determined by how the viewing application chooses to display comments. end note]
[Example:
<p:pos x="1426" y="660"/>
end example]
Parent Elements |
---|
cm (§19.4.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:
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:
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. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.
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.