API Documentation > CorelDRAW > 2025-v26 > Document > IVGDocument
Document.CreateImage method
Creates a new pixel buffer for bitmap image
Syntax:
Function CreateImage(ByVal ImageType As cdrImageType, ByVal Width As Long, ByVal Height As Long, Optional ByVal FillColor As Color = Nothing) As Image
Parameters:
Name Type Description
ImageType
Width
Long
Height
Long
FillColor