ComponentOne VSView 8.0
DrawPicture Method (VSDraw)

Draws a bitmap or an icon.

Syntax

[form!]VSDraw.DrawPicture Picture As Picture, Left As Double, Top As Double, Width As Double, Height As Double

Remarks

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.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback