TransformEffect Class

Transform Effect.When the object is serialized out as xml, its qualified name is a:xfrm.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.TransformEffect

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

Syntax

'Declaration
Public Class TransformEffect _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As TransformEffect
public class TransformEffect : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

20.1.8.61 xfrm (Transform Effect)

This element specifies a transform effect. The transform is applied to each point in the shape's geometry using the following matrix:

Parent Elements

cont (§20.1.8.20); effectDag (§20.1.8.25)

Attributes

Description

kx (Horizontal Skew)

Specifies the horizontal skew angle, defined as the angle between the top-left corner and bottom-left corner of the object's original bounding box. If positive, the bottom edge of the shape is positioned to the right relative to the top edge.

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

ky (Vertical Skew)

Specifies the vertical skew angle, defined as the angle between the top-left corner and top-right corner of the object's original bounding box. If positive, the right edge of the object is positioned lower relative to the left edge.

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

sx (Horizontal Ratio)

Specifies a percentage by which to horizontally scale the object.

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

sy (Vertical Ratio)

Specifies a percentage by which to vertically scale the object.

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

tx (Horizontal Shift)

Specifies an amount by which to shift the object along the x-axis.

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

ty (Vertical Shift)

Specifies an amount by which to shift the object along the y-axis.

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

TransformEffect Members

DocumentFormat.OpenXml.Drawing Namespace