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

Definition

Namespace:Telerik.Web.UI.ImageEditor

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class SwapImageOperation : ImageOperation, IImageOperation

Inheritance: objectImageOperationSwapImageOperation

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 SwapImageOperation(string src, string name, int index)
Parameters:srcstringnamestringindexint
C#
public SwapImageOperation(string src, string name)
Parameters:srcstringnamestring
C#
public SwapImageOperation(string src)
Parameters:srcstring

Properties

The name of the operation

C#
public string Name { get; set; }

Implements: IImageOperation.Name

C#
public string Src { get; set; }

Methods

Applies the operation against the provided image.

C#
public Image Apply(Image image)
Parameters:imageImage

The provided image that defines the base for the operation

Returns:

Image

The resultant image of the applied graphics operation

Implements: IImageOperation.Apply(Image)