Previous Document Next Document

Object Model Reference : Classes : S : StructExportOptions : Properties : StructExportOptions.UseColorProfile


StructExportOptions.UseColorProfile

Property UseColorProfile As Boolean

Description

Member of StructExportOptions

The UseColorProfile property specifies whether the current color profile is used when converting colors during export.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.