SaaS CMS has officially launched! Learn more now.

Class ImageOperation

Inheritance
System.Object
ImageOperation
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.ImageLibrary
Assembly: EPiServer.ImageLibrary.dll
Version: 11.20.7
Syntax
public class ImageOperation

Constructors

ImageOperation(ImageEditorCommand)

Declaration
public ImageOperation(ImageEditorCommand command)
Parameters
Type Name Description
ImageEditorCommand command

ImageOperation(ImageEditorCommand, Int32, Int32)

Declaration
public ImageOperation(ImageEditorCommand command, int width, int height)
Parameters
Type Name Description
ImageEditorCommand command
System.Int32 width
System.Int32 height

Properties

Angle

Declaration
public int Angle { get; set; }
Property Value
Type Description
System.Int32

BackgroundColor

Declaration
public string BackgroundColor { get; set; }
Property Value
Type Description
System.String

Command

Declaration
public ImageEditorCommand Command { get; set; }
Property Value
Type Description
ImageEditorCommand

Height

Declaration
public int Height { get; set; }
Property Value
Type Description
System.Int32

Left

Declaration
public int Left { get; set; }
Property Value
Type Description
System.Int32

Top

Declaration
public int Top { get; set; }
Property Value
Type Description
System.Int32

Width

Declaration
public int Width { get; set; }
Property Value
Type Description
System.Int32

Methods

Deserialize(String)

Declaration
public static List<ImageOperation> Deserialize(string commands)
Parameters
Type Name Description
System.String commands
Returns
Type Description
System.Collections.Generic.List<ImageOperation>

ParseCommandName(String)

Declaration
public static ImageEditorCommand ParseCommandName(string commandName)
Parameters
Type Name Description
System.String commandName
Returns
Type Description
ImageEditorCommand

Extension Methods