GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    Transform Class

    Namespace:
    GemBox.Document.Drawing
    Assembly:
    GemBox.Document.dll

    Represents 2-D transforms for ordinary shapes.

    • C#
    • VB.NET
    public sealed class Transform
    Public NotInheritable Class Transform
    Inheritance:
    Object
    Transform

    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.

    • C#
    • VB.NET
    public bool FlipHorizontal { get; set; }
    Public Property FlipHorizontal As Boolean
    Property Value
    Boolean

    true if shape is flipped horizontally about the center of its bounding box; otherwise, false.

    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.

    • C#
    • VB.NET
    public bool FlipVertical { get; set; }
    Public Property FlipVertical As Boolean
    Property Value
    Boolean

    true if shape is flipped vertically about the center of its bounding box; otherwise, false.

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

    • C#
    • VB.NET
    public double Rotation { get; set; }
    Public Property Rotation As Double
    Property Value
    Double

    The rotation of the shape in degrees.

    Methods

    ToString()

    Returns a String that represents this Transform instance.

    • C#
    • VB.NET
    public override string ToString()
    Public Overrides Function ToString As String
    Returns
    String

    A String that represents this Transform instance.

    Overrides
    Object.ToString()
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.