Table of Contents

Property DipSize

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

DipSize

Gets the size of bitmap in DPI-independent units.

public virtual SizeI DipSize { get; }

Property Value

SizeI

Remarks

This assumes that the bitmap was created using the value of scale factor corresponding to the current DPI and returns its physical size divided by this scale factor. Unlike LogicalSize, this function returns the same value under all platforms and so its result should not be used as window or device context coordinates.