Skip to main content

ASPxBinaryImage.EnableServerResize Property

Specifies whether an image is resized by the control on the server side, or it is sent to the server side in original size and resized by a browser.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public bool EnableServerResize { get; set; }

Property Value

Type Default Description
Boolean false

true to resize an image on the server side; false to resize an image by a browser on the client side.


Set the EnableServerResize property to true to enable image resizing on the server side, which allows reducing the amount of data sent to the client side. In this case, you can specify how an image fits the specified sizes (ASPxImageBase.Height and ASPxImageBase.Width), using the ASPxBinaryImage.ImageSizeMode property.

See Also