This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Copies a bitmap to the selected canvas target.
Copies a portion of the bitmap, specified by SX, SY1 as the upper left corner and SX2, SY2 as the lower right corner. It is positioned at the point specified by the parameter DX, DY
Syntax
n = Canvas_BitmapCopy3(hBmp, ID, SX1, SY1, SX2, SY2, DX, DY [, Style])
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
||||||||||||||||||||||||||||||||
hBmp |
Number |
No |
specifies the handle of the source bitmap, control, or window |
||||||||||||||||||||||||||||||||
ID |
Number |
No |
identifier assigned with the CONTROL ADD CANVAS. |
||||||||||||||||||||||||||||||||
SX1 |
Number |
No |
Source X1 |
||||||||||||||||||||||||||||||||
SY1 |
Number |
No |
Source Y1 |
||||||||||||||||||||||||||||||||
SX2 |
Number |
No |
Source X2 |
||||||||||||||||||||||||||||||||
SY2 |
Number |
No |
Source Y2 |
||||||||||||||||||||||||||||||||
DX |
Number |
No |
Destination X |
||||||||||||||||||||||||||||||||
DY |
Number |
No |
Destination Y |
||||||||||||||||||||||||||||||||
Style |
Number |
Yes |
One of the following equates:
|
Remarks
The destination of the stretch operation is always the attached graphic target
Restrictions
See also
Examples