API Documentation > CorelDRAW > 2025-v26 > StructExportOptions > IVGStructExportOptions
StructExportOptions.UseColorProfile property
Syntax:
Property Get UseColorProfile() As Boolean
Property Let UseColorProfile(ByVal Value As Boolean)
Remarks:
The UseColorProfile property specifies whether the current color profile is used when converting colors during export.
Examples:
The following VBA example exports the selection to an RGB-based BMP image, with colors corrected by using the current color profile.
Sub Test()
Dim opt As New StructExportOptions
Dim flt As ExportFilter
opt.ImageType = cdrRGBColorImage
opt.UseColorProfile = True
Set flt = ActiveDocument.ExportEx("C:\Temp\img.bmp", cdrBMP, cdrSelection, opt)
flt.Finish 
End Sub