BOOL CBCGPVisualContainer::ExportToFile | ( | const CString & | strFilePath, |
CBCGPGraphicsManager * | pGM, | ||
BOOL | bFullImage = FALSE , |
||
const CBCGPBrush & | brFill = CBCGPBrush(CBCGPColor::White) |
||
) |
Exports the visual container to an image file (BMP or PNG).
strFilePath | Full pathname of the file. |
pGM | The graphics manager. |
bFullImage | Specifies whether full container area will be exported. If this parameter is FALSE, only currently visible container area will be exported. |
brFill | The fill brush (a default value is white). |