Skip to main content
A newer version of this page is available. .
Tab

BinaryImageEditProperties.ImageWidth Property

Gets or sets the width of the image displayed within the editor.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(typeof(Unit), "")]
public Unit ImageWidth { get; set; }

Property Value

Type Default Description
Unit String.Empty

A Unit value specifying the image width.

Remarks

If the image height and width are not specified, the image is displayed in its original size. Use the ImageWidth property to override the initial width of the displayed image. If the image’s width is specified, the displayed image is stretched or shrunk as appropriate to match the specified width.

See Also