Partager via


TransformGroup Class

2D Transform for Grouped Objects.When the object is serialized out as xml, its qualified name is a:xfrm.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.TransformGroup

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Extents))> _
<ChildElementInfoAttribute(GetType(ChildExtents))> _
<ChildElementInfoAttribute(GetType(Offset))> _
<ChildElementInfoAttribute(GetType(ChildOffset))> _
Public Class TransformGroup _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As TransformGroup
[ChildElementInfoAttribute(typeof(Extents))]
[ChildElementInfoAttribute(typeof(ChildExtents))]
[ChildElementInfoAttribute(typeof(Offset))]
[ChildElementInfoAttribute(typeof(ChildOffset))]
public class TransformGroup : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Offset <a:off>

  • Extents <a:ext>

  • ChildOffset <a:chOff>

  • ChildExtents <a:chExt>

[ISO/IEC 29500-1 1st Edition]

20.1.7.5 xfrm (2D Transform for Grouped Objects)

This element is nearly identical to the representation of 2-D transforms for ordinary shapes (§20.1.7.6). The only addition is a member to represent the Child offset and the Child extents.

Parent Elements

grpSpPr (§21.3.2.14); grpSpPr (§20.1.2.2.22); grpSpPr (§20.5.2.18); grpSpPr (§19.3.1.23)

Child Elements

Subclause

chExt (Child Extents)

§20.1.7.1

chOff (Child Offset)

§20.1.7.2

ext (Extents)

§20.1.7.3

off (Offset)

§20.1.7.4

Attributes

Description

flipH (Horizontal Flip)

Horizontal flip. When true, this attribute defines that the group is flipped horizontally about the center of its bounding box.

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

DocumentFormat.OpenXml.Drawing.TransformGroup-imag

end example]

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

flipV (Vertical Flip)

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.TransformGroup-imag

end example]

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

rot (Rotation)

Rotation. Specifies the clockwise rotation of a group in 1/64000 of a degree.

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_GroupTransform2D) 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

TransformGroup Members

DocumentFormat.OpenXml.Drawing Namespace