Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.

 

Class ImageEditorElement

Base configuration element for the EPiServer Image Editor.

Inheritance
System.Object
ImageEditorElement
Namespace: EPiServer.Configuration.ImageEditor
Assembly: EPiServer.Configuration.dll
Version: 7.19.2
Syntax
public class ImageEditorElement : ConfigurationElement

Constructors

ImageEditorElement()

Declaration
public ImageEditorElement()

Properties

Enabled

Gets a value indicating whether the image editor is enabled in configuration.

Declaration
[BoolValidator]
public bool Enabled { get; }
Property Value
Type Description
System.Boolean

true if the image editor is enabled; otherwise, false.

ModifiedImagesTargetVirtualPath

Returns the virtual path to a location where images modified in the editor are saved. If this property is not set the Page folder for the active page is used.

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

SizePresets

Gets the configured presets used for crop rectangle or resize operations.

Declaration
public PresetElementCollection SizePresets { get; }
Property Value
Type Description
PresetElementCollection

A collection of size presets.

WindowHeight

Gets the preferred height of the image editor from configuration.

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

WindowWidth

Gets the preferred width of the image editor from configuration.

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

ZoomImageToFitInWindow

Determines if the zoom level of the image should be calculated so the whole image is visible when opening images.

Declaration
[BoolValidator]
public bool ZoomImageToFitInWindow { get; }
Property Value
Type Description
System.Boolean