Control Reference > VSDraw Control > VSDraw Methods > DrawPicture Method (VSDraw) |
Draws a bitmap or an icon.
[form!]VSDraw.DrawPicture Picture As Picture, Left As Double, Top As Double, Width As Double, Height As Double
The DrawPicture method draws a bitmap or an icon at the specified position.
The Left, Top, Width, and Height parameters are specified in scale units, defined by the ScaleWidth, ScaleHeight, ScaleLeft, and ScaleHeight properties.
If the Picture parameter is a metafile, rather than a bitmap or an icon, then the specified metafile replaces the contents of the control.