Skip to main content

HtmlEditorImages.InsertImageDialogConstrainProportionsMiddleOn Property

Gets the ImageProperties object that is the switched on middle part of a specific constrain proportions image, displayed within the ASPxHtmlEditor‘s Insert image dialog.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v24.2.dll

Declaration

public ImageProperties InsertImageDialogConstrainProportionsMiddleOn { get; }

Property Value

Type Description
ImageProperties

An ImageProperties object that contains image settings.

Remarks

A specific constrain proportions image is displayed within the Insert Image dialog of the ASPxHtmlEditor, and indicates whether the proportions of the inserted (or edited) image are constrained. The constrain proportion image can be displayed as a switched on (ASPxHtmlEditor-ConstrainProportionsImageOn) or switched off (ASPxHtmlEditor-ConstrainProportionsImageOff) image.

ASPxHtmlEditor-InsertImageDialog-ConstrainProportionsImage

The constrain proportions image consists of three parts - specific top, middle and bottom images.

The top part of the image (ASPxHtmlEditor-ConstrainProportionsImage-Top) is defined by using the HtmlEditorImages.InsertImageDialogConstrainProportionsTop property.

The middle part of the constrain proportions image can be displayed as either a switched on image (ASPxHtmlEditor-ConstrainProportionsImage-Middle-SwitchedOn) or switched off image (ASPxHtmlEditor-ConstrainProportionsImage-Middle-SwitchedOff) whose settings are defined using the InsertImageDialogConstrainProportionsMiddleOn or HtmlEditorImages.InsertImageDialogConstrainProportionsMiddleOff property, respectively.

The bottom part of the image (ASPxHtmlEditor-ConstrainProportionsImage-Bottom) can be defined via the HtmlEditorImages.InsertImageDialogConstrainProportionsBottom property.

See Also