Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ImageCollection<TImage, TInfo>.ScaledImageSize Property

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.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