Version

GetImageSize Method

Returns the actual size at which this image is displayed for the specified resolutionScale.
Syntax
'Declaration
 
Public Overridable Function GetImageSize( _
   ByVal resolutionScale As ResolutionScale _
) As Size
public virtual Size GetImageSize( 
   ResolutionScale resolutionScale
)

Parameters

resolutionScale
A ResolutionScale constant which identifies the relative screen resolution for which the image size is to be returned.

Return Value

The actual size of the image, expressed in pixels.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also