| Name |
Type |
Description |
| CloneFromHBmp |
|
Creates a bitmap from another bitmap handle, use PictureBox.Picture.Handle if you use VB6 controls |
| CloneFromHdc |
|
Selects the image contained in the given Device Context and copies it to the new internal Device Context |
| CreateDC |
|
Creates an image with a specified size (in pixels) and assign it to an internal Device context so you can easily use Windows drawing function on it |
| Destroy |
|
Frees used resources, called automatically when the class terminates or a new value is assigned using [CloneFromDib], [CloneFromHBmp], [CloneFromHdc], [CreateDC] |
| DrawBackColor |
|
Clear the internal image with a specified color |
| hBmp |
(Long) |
Returns the handle of the internal bitmap object |
| hDC |
(Long) |
Returns the handle of the internal Device Context |
| Height |
(Long) |
Returns the height of the internal image (in pixels) |
| PaintPicture |
|
Draws the internal image to the specified Device Context |
| ReleasehBmp |
(Long) |
Returns the internal bitmap handle and leave the user the responsability to Delete it ([clsCommonWrapper.DeleteObject]) when useless After this call internal references to this object are deleted |
| ResizeAdaptDC |
|
Resizes the internal image stretching it |
| ResizeCutDC |
|
Resizes the internal image cutting it (if the new size is smaller) or adding margins (if the new size is bigger) |
| Width |
(Long) |
Returns the width of the internal image (in pixels) |