CBitmap::GetBitmapDimension

Syntax

CSize GetBitmapDimension() const;

Remarks

Returns the width and height of the bitmap. The height and width are assumed to have been set previously by using the SetBitmapDimension function.

Return Value

The width and height of the bitmap, measured in 0.1-millimeter units. The height is in the cy member of the CSize object, and the width is in the cx member. If the bitmap width and height have not been set by using SetBitmapDimension, the return value is 0.

See Also

CBitmap::SetBitmapDimension, ::GetBitmapDimension

#e45n