Transform Class

2D Transform for Graphic Frames.When the object is serialized out as xml, its qualified name is xdr:xfrm.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Spreadsheet.Transform

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

Syntax

声明
<ChildElementInfoAttribute(GetType(Extents))> _
<ChildElementInfoAttribute(GetType(Offset))> _
Public Class Transform _
    Inherits OpenXmlCompositeElement
用法
Dim instance As Transform
[ChildElementInfoAttribute(typeof(Extents))]
[ChildElementInfoAttribute(typeof(Offset))]
public class Transform : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Drawing.Offset <a:off>

  • DocumentFormat.OpenXml.Drawing.Extents <a:ext>

[ISO/IEC 29500-1 第 1 个版本]

20.5.2.36 xfrm (2D Transform for Graphic Frames)

This element specifies a two dimensional transform for a Graphic Frame.

Parent Elements

graphicFrame (§20.5.2.16)

Child Elements

Subclause

ext (Extents)

§20.1.7.3

off (Offset)

§20.1.7.4

Attributes

Description

flipH (Horizontal Flip)

Namespace: .../drawingml/2006/main

Specifies a horizontal flip. When true, this attribute defines that the shape is flipped horizontally about the center of its bounding box.

[Example: The following illustrates the effect of a horizontal flip.

DocumentFormat.OpenXml.Drawing.Spreadsheet.Transfo

end example]

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

flipV (Vertical Flip)

Namespace: .../drawingml/2006/main

Specifies a vertical flip. When true, this attribute defines that the group is flipped vertically about the center of its bounding box.[Example: The following illustrates the effect of a vertical flip.

DocumentFormat.OpenXml.Drawing.Spreadsheet.Transfo

end example]

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

rot (Rotation)

Namespace: .../drawingml/2006/main

Specifies the rotation of the Graphic Frame. The units for which this attribute is specified in reside within the simple type definition referenced below.

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

[Note: The W3C XML Schema definition of this element's content model (CT_Transform2D) 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.

See Also

Reference

Transform Members

DocumentFormat.OpenXml.Drawing.Spreadsheet Namespace