Udostępnij za pośrednictwem


CMFCImagePaintArea::SetBitmap

Sets the bitmap image for the picture area.

void SetBitmap(
   CBitmap* pBitmap
);

Parameters

Parameter

Description

[in] pBitmap

The new bitmap image to display.

Remarks

If pBitmap is NULL, this method sets the size of the modifiable paint area to zero. Otherwise, it sets the size of the modifiable paint area to the size of the provided bitmap image.

Requirements

Header: afximagepaintarea.h

See Also

Reference

CMFCImagePaintArea Class

Hierarchy Chart

CBitmap Class