SnapImage.UpdateMode Property
In This Article
Specifies whether to preserve the image box size or the original image proportions when the SnapImage is resized.
Namespace: DevExpress.Snap.Core.API
Assembly: DevExpress.Snap.v21.2.Core.dll
NuGet Package: DevExpress.Snap.Core
#Declaration
UpdateMergeImageFieldMode UpdateMode { get; set; }
#Property Value
Type | Description |
---|---|
Update |
An Update |
#Remarks
When the UpdateMode property is set to KeepSize, the SnapImage‘s dimensions are controlled by its SnapImage.Size property.
When the UpdateMode property is set to KeepScale, the SnapImage‘s dimensions are controlled by its SnapImage.ScaleX and SnapImage.ScaleY properties.
To specify how the image is resized within SnapImage‘s dimensions, use the SnapImage.ImageSizeMode property.
See Also