Unicode Controls & Classes for VB6 - Version 4

clsGpGraphics.DrawImageRectI Function

Draws an image and optionally scale it

Syntax
Public Function DrawImageRectI (ByRef oImage As clsGpBitmap, _
Optional ByVal x As Long = 0, _
Optional ByVal y As Long = 0, _
Optional ByVal destWidth As Long = 0, _
Optional ByVal destHeight As Long = 0) As GpStatus
Parameters
Parameter Description
ByRef oImage As clsGpBitmap The image to draw
Optional ByVal x As Long = 0 The destination X
Optional ByVal y As Long = 0 The destination Y
Optional ByVal destWidth As Long = 0 The destination width
Optional ByVal destHeight As Long = 0 The destination height
Remarks