API Documentation > CorelDRAW > 2025-v26 > Application > ICUIApplication
Application.CreateBitmapImage method
Creates an instance of BitmapImage object and optionally reads the image data from ImageData which can be a file name, raw image data as a byte-array, or a image data stream
Syntax:
Function CreateBitmapImage(Optional ByVal ImageData As Variant, Optional ByVal MaxSize As Long = 0) As BitmapImage
Parameters:
Name Type Description
ImageData
Variant
MaxSize
Long