API Documentation
>
CorelDRAW
>
2025-v26
>
Bitmap
>
IVGBitmap
Bitmap.SetImageData method
Specifies a new image data for the bitmap as well as optional transparency softmask. The optional OffsetX and OffsetY parameters allow to offset the bitmap shape by the specified number of pixels to compensate for changed image size.
Syntax:
Sub
SetImageData
(
ByVal
Image
As
Image
,
Optional
ByVal
Alpha
As
Image
=
Nothing
,
Optional
ByVal
OffsetX
As
Long
=
0
,
Optional
ByVal
OffsetY
As
Long
=
0
)
Parameters:
Name
Type
Description
Image
Image
Alpha
Image
OffsetX
Long
OffsetY
Long