Skip to main content

ASPxHtmlEditor.GetInsertImageDialogConstrainProportionsMiddleOn() Method

Returns the ImageProperties object representing the switched on middle part of a specific constrain proportions image within the ASPxHtmlEditor‘s Insert image dialog.

Namespace: DevExpress.Web.ASPxHtmlEditor

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

NuGet Package: DevExpress.Web

Declaration

public ImageProperties GetInsertImageDialogConstrainProportionsMiddleOn()

Returns

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 HtmlEditorImages.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