See Also Examples Applies To
Draws a clipped image from several points of co-ordinates into the native GdPicture image.
Syntax
object.DrawImageClipped (nimageID, *arPoints())
The DrawImageClipped syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| nimageID | Required. Long. GdPicture Image handle. Image handle of the image to draw into the native GdPicture image. |
| *arPoints() | Required. Input 1D or 2D Long Array. Pointer to an array of long that specify the coordinates. |
Returns
Long. GdPictureStatus
Category
Draw (Images)
Visual Basic Sample
draw image1.jpg into image2.jpg from 3 points a(0, 0) b(700, 0) and c(700, 700)
Dim nImageID As Long, nImageID2 As Long
Dim arPoints(0 To 2, 0 To 1) As Long
Dim nStat As Long
nImageID = Object.CreateImageFromFile("image1.jpg")
nImageID = Object.CreateImageFromFile("image2.jpg")
Object.SetNativeImage (nImageID2)
arPoints(0, 0) = 0
arPoints(0, 1) = 0
arPoints(1, 0) = 700
arPoints(1, 1) = 0
arPoints(2, 0) = 700
arPoints(2, 1) = 700
nStat = Object.DrawImageClipped(nImageID, arPoints())