New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents an image operation that rotates and/or flips an image using a specified RotateFlipType.

Definition

Namespace:Telerik.Web.UI.ImageEditor

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class RotateFlipOperation : ImageOperation, IImageOperation

Inheritance: objectImageOperationRotateFlipOperation

Implements: IImageOperation

Inherited Members ImageOperation.Indexobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public RotateFlipOperation(RotateFlipType type, int index)
Parameters:typeRotateFlipTypeindexint
C#
public RotateFlipOperation(RotateFlipType type)
Parameters:typeRotateFlipType

Properties

Gets the operation name.

C#
public string Name { get; }

Implements: IImageOperation.Name

Gets or sets the RotateFlipType to apply during the operation.

C#
public RotateFlipType Type { get; set; }

Methods

Applies the configured rotation and/or flip to the provided image and returns a new bitmap instance.

C#
public Image Apply(Image original)
Parameters:originalImage

The source image.

Returns:

Image

A new Image containing the transformed pixels.

Implements: IImageOperation.Apply(Image)