Graphics.DrawPicture Method

Draws the picture at the specified location. The optional parameters (surrounded by []) are used to copy a portion of the picture and for scaling the picture.

Syntax
Graphics.DrawPicture Image, X, Y, [DestWidth], [DestHeight], [SourceX], [SourceY], [SourceWidth], [SourceHeight]

Parameters
Image | Picture
X | Integer
Y | Integer
DestWidth | Integer (Optional)
DestHeight | Integer (Optional)
SourceX | Integer (Optional)
SourceY | Integer (Optional)
SourceWidth | Integer (Optional)
SourceHeight | Integer (Optional)

# Notes

DestWidth and DestHeight are used to change the scaling of the picture when it is drawn and default to the Width and Height of the picture. SourceX and SourceY default to 0 and are used to determine the upper-left coordinate you wish to copy from. SourceWidth and SourceHeight default to the Width and Height of the picture and are used to indicate the portion of the picture you wish to copy.