BinaryImageEditProperties.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.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Remarks
Set the EnableServerResize property to true
to enable image resizing on the server side, which allows you to reducing the amount of data sent to the client side. In this case, you can specify how an image fits the specified sizes (ImageEditPropertiesBase.ImageHeight and ImageEditPropertiesBase.ImageWidth), using the BinaryImageEditProperties.ImageSizeMode property.