Compartilhar via


Transform Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Presentation.Transform

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Extents))> _
<ChildElementInfoAttribute(GetType(Offset))> _
Public Class Transform _
    Inherits OpenXmlCompositeElement
'Usage
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 1st Edition]

19.3.1.53 xfrm (2D Transform for Graphic Frame)

This element specifies the transform to be applied to the corresponding graphic frame. This transformation is applied to the graphic frame just as it would be for a shape or group shape.

Parent Elements

graphicFrame (§19.3.1.21)

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.Presentation.Transform-imag

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.Presentation.Transform-imag

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.

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.Presentation Namespace