CBitmap::GetBitmapDimension

CSize GetBitmapDimension( ) const;

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.

Remarks

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

CBitmap OverviewClass MembersHierarchy Chart

See Also   CBitmap::SetBitmapDimension