drawPictureAt
drawPictureAt(pict: Binary; x: Real; y: Real);
The drawPictureAt method of the Window class draws a picture on a form or control starting at a specific location, using the drawing mode defined by the mode of the drawMode property.
If this method is not called from a paint event, set the autoRedraw property to true.
The picture is drawn actual size. If there is insufficient room to fit the entire picture, it is truncated.
When running applications in JADE thin client mode, the picture that is drawn is cached on the presentation client.
The drawPictureAt method parameters are listed in the following table.
Parameter | Description |
---|---|
pict | Picture file image |
x | Left starting position |
y | Top starting position |
The following example shows the use of the drawPictureAt method.
form1.drawPictureAt(pic1.picture, 20, 30);