API Documentation > CorelDRAW > 2025-v26 > Image > IVGImage
Image.Blit method
Copies a rectangular area of source image into a destination rectangle, stretching or compressing the bitmap to fit the dimensions of the destination rectangle, if necessary.
Syntax:
Sub Blit(ByVal DestX As Long, ByVal DestY As Long, ByVal DestWidth As Long, ByVal DestHeight As Long, ByVal SrcImage As Image, ByVal SrcX As Long, ByVal SrcY As Long, ByVal SrcWidth As Long, ByVal SrcHeight As Long, Optional ByVal MergeMode As cdrMergeMode = cdrMergeNormal)
Parameters:
Name Type Description
DestX
Long
DestY
Long
DestWidth
Long
DestHeight
Long
SrcImage
SrcX
Long
SrcY
Long
SrcWidth
Long
SrcHeight
Long
MergeMode