Transform Class
Represents 2-D transforms for ordinary shapes.
- Inheritance:
- System.ObjectTransform
Properties
FlipHorizontal
Gets or sets a horizontal flip. When true, this property defines that the shape is flipped horizontally about the center of its bounding box.
Property Value
- System.Boolean
true if shape is flipped horizontally about the center of its bounding box; otherwise, false.
Remarks
When set to a value different than the current FlipHorizontal, MS Word automatically inverts the Rotation to 360° - Rotation (normalized to the interval [0°, 360°>). To follow the MS Word's behavior, you should do the same or simply use the FlipHorizontally() method.
FlipVertical
Gets or sets a vertical flip. When true, this property defines that the shape is flipped vertically about the center of its bounding box.
Property Value
- System.Boolean
true if shape is flipped vertically about the center of its bounding box; otherwise, false.
Remarks
When set to a value different than the current FlipVertical, MS Word automatically inverts the Rotation to 360° - Rotation (normalized to the interval [0°, 360°>). To follow the MS Word's behavior, you should do the same or simply use the FlipVertically() method.
Rotation
Gets or sets the rotation of the shape in degrees. Positive angles are clockwise (i.e., towards the positive y axis); negative angles are counter-clockwise (i.e., towards the negative y axis).
Property Value
- System.Double
The rotation of the shape in degrees.
Methods
FlipHorizontally()
Inverts the value of the FlipHorizontal.
The Rotation is also inverted to 360° - Rotation (normalized to the interval [0°, 360°>) like in MS Word.
Returns
A reference to this instance after the flipping operation has completed.
FlipVertically()
Inverts the value of the FlipVertical.
The Rotation is also inverted to 360° - Rotation (normalized to the interval [0°, 360°>) like in MS Word.
Returns
A reference to this instance after the flipping operation has completed.
ToString()
Returns a System.String that represents this Transform instance.
Returns
- System.String
A System.String that represents this Transform instance.