Rotation Class
Rotation.When the object is serialized out as xml, its qualified name is a:rot.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Drawing.Rotation
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
Public Class Rotation _
Inherits OpenXmlLeafElement
用法
Dim instance As Rotation
public class Rotation : OpenXmlLeafElement
Remarks
[ISO/IEC 29500-1 第 1 个版本]
20.1.5.11 rot (Rotation)
This element defines a rotation in 3D space. A rotation in DrawingML is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates.
[Example: Consider the following example of a rotation defined by the rot elements being used in a lightRig in DrawingML:
<a:lightRig rig="twoPt" dir="t">
<a:rot lat="0" lon="0" rev="6000000"/>
</a:lightRig>
In this example, we have only a revolution applied to the light rig which rotates it around it's center axis. end example]
Parent Elements |
---|
camera (§20.1.5.5); lightRig (§20.1.5.9) |
Attributes |
Description |
---|---|
lat (Latitude) |
Defines the latitude value of the rotation. [Example: Consider the following example of a rot in DrawingML:
In this example, we set the lat to be equal to 0. end example] The possible values for this attribute are defined by the ST_PositiveFixedAngle simple type (§20.1.10.44). |
lon (Longitude) |
Defines the longitude value of the rotation. [Example: Consider the following example of a rot in DrawingML:
In this example, we set the lon to be equal to 0. end example] The possible values for this attribute are defined by the ST_PositiveFixedAngle simple type (§20.1.10.44). |
rev (Revolution) |
This attributes defines the revolution around the central axis in the rotation. [Example: Consider the following example of a rot in DrawingML:
In this example, we set the rev to be equal to 6000000. end example] The possible values for this attribute are defined by the ST_PositiveFixedAngle simple type (§20.1.10.44). |
[Note: The W3C XML Schema definition of this element's content model (CT_SphereCoords) is located in §A.4.1. end note]
© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,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.