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

Represents a no-op image operation that returns an identical copy of the original image. Useful as a placeholder in operation pipelines or for resetting state.

Definition

Namespace:Telerik.Web.UI.ImageEditor

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class EmptyOperation : ImageOperation, IImageOperation

Inheritance: objectImageOperationEmptyOperation

Implements: IImageOperation

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

Constructors

C#
public EmptyOperation()

Properties

Always returns -1 to indicate it should not participate in ordered execution. Setting a value delegates to the base implementation but has no effect on the getter.

C#
public override int Index { get; set; }

Overrides: ImageOperation.Index

Implements: IImageOperation.Index

Gets the descriptive name of the operation.

C#
public string Name { get; }

Implements: IImageOperation.Name

Methods

Returns a cloned bitmap of the provided image without applying any modifications.

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

Source image.

Returns:

Image

A new Image instance identical to the source.

Implements: IImageOperation.Apply(Image)