Object Model Reference : Classes : S : StructExportOptions : Properties : StructExportOptions.UseColorProfile |
Property UseColorProfile As Boolean
Member of StructExportOptions
The UseColorProfile property specifies whether the current color profile is used when converting colors during export.
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 |
Copyright 2013 Corel Corporation. All rights reserved.