Click or drag to resize

ImageUtilitiesGetBitmapSize Method

Gets the size of a bitmap.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static Size GetBitmapSize(
	IntPtr bitmapHandle
)

Parameters

bitmapHandle
Type: SystemIntPtr
a bitmap handle.

Return Value

Type: Size
The width and height of the bitmap.
Exceptions
ExceptionCondition
ArgumentExceptionbitmapHandle is zero.
See Also