Search Results for

    Show / Hide Table of Contents

    Class AnyBitmap.RotateMode

    Provides enumeration over how the image should be rotated.

    Inheritance
    System.Object
    AnyBitmap.RotateMode
    Namespace: IronSoftware.Drawing
    Assembly: IronSoftware.Drawing.Common.dll
    Syntax
    public sealed class RotateMode : Enum

    RotateMode controls the clockwise rotation applied when transforming an AnyBitmap image. None leaves the image unchanged and is the default. Rotate90, Rotate180, and Rotate270 rotate the canvas by the corresponding degree clockwise. Pass the value directly to the relevant AnyBitmap rotation method. See the IronDrawing documentation for setup details.

    AnyBitmap rotated = bitmap.Rotate(AnyBitmap.RotateMode.Rotate90);

    Fields

    None

    Do not rotate the image.

    Declaration
    public const AnyBitmap.RotateMode None
    Field Value
    Type Description
    AnyBitmap.RotateMode

    Rotate180

    Rotate the image by 180 degrees clockwise.

    Declaration
    public const AnyBitmap.RotateMode Rotate180
    Field Value
    Type Description
    AnyBitmap.RotateMode

    Rotate270

    Rotate the image by 270 degrees clockwise.

    Declaration
    public const AnyBitmap.RotateMode Rotate270
    Field Value
    Type Description
    AnyBitmap.RotateMode

    Rotate90

    Rotate the image by 90 degrees clockwise.

    Declaration
    public const AnyBitmap.RotateMode Rotate90
    Field Value
    Type Description
    AnyBitmap.RotateMode

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    ☀
    ☾
    Downloads
    • Download with Nuget
    In This Article
    Back to top
    Install with Nuget