Draws the internal image to the specified Device Context
Syntax
Public Sub PaintPicture (ByVal lHdc As Long, _ Optional ByVal lDestLeft As Long = 0, _ Optional ByVal lDestTop As Long = 0, _ Optional ByVal lDestWidth As Long = -1, _ Optional ByVal lDestHeight As Long = -1, _ Optional ByVal lSrcLeft As Long = 0, _ Optional ByVal lSrcTop As Long = 0, _ Optional ByVal lSrcWidth As Long = -1, _ Optional ByVal lSrcHeight As Long = -1, _ Optional ByVal eRop As RasterOpConstants = vbSrcCopy)
Parameters
Parameter |
Description |
ByVal lHdc As Long |
Destination DC |
Optional ByVal lDestLeft As Long = 0 |
Destination Left |
Optional ByVal lDestTop As Long = 0 |
Destination Top |
Optional ByVal lDestWidth As Long = -1 |
Destination Width (if specified and different from the source width, the image will be stretched) |
Optional ByVal lDestHeight As Long = -1 |
Destination Height (if specified and different from the source height, the image will be stretched) |
Optional ByVal lSrcLeft As Long = 0 |
Source Left |
Optional ByVal lSrcTop As Long = 0 |
Source Top |
Optional ByVal lSrcWidth As Long = -1 |
Source Width (if specified and different from the destination width, the image will be stretched) |
Optional ByVal lSrcHeight As Long = -1 |
Source Height (if specified and different from the destination height, the image will be stretched) |
Optional ByVal eRop As RasterOpConstants = vbSrcCopy |
Copy type |
|