SnapImage.UpdateMode Property
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
Property Value
Type | Description |
---|---|
UpdateMergeImageFieldMode | An UpdateMergeImageFieldMode enumeration value. |
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