Skip to main content

ImageCollection<TImage, TInfo>.ScaledImageSize Property

Returns the actual (DPI-aware) size of images stored in this SvgImageCollection.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[Browsable(false)]
public Size ScaledImageSize { get; }

Property Value

Type Description
Size

A Size structure that is the actual image size.

Remarks

SvgImageCollection images have the same size as specified by the ImageCollection.ImageSize property only when an app runs at 100% scaling (96 DPI). If the system scaling factor is different from this default 100% value, SvgImageCollection images are automatically scaled to fit the current DPI. The ScaledImageSize property allows you to retrieve actual SvgImageCollection image sizes.

See Also