Object Model Reference : Classes : S : StructExportOptions : Properties : StructExportOptions.Transparent |
Property Transparent As Boolean
Member of StructExportOptions
The Transparent property specifies whether a bitmap has no background that is, has a transparent background when exported.
The following VBA example exports the selected objects to the Corel PHOTO-PAINT (CPT) format without a background.
Sub Test() |
Dim opt As New StructExportOptions |
Dim flt As ExportFilter |
opt.ImageType = cdrRGBColorImage |
opt.Transparent = True |
Set flt = ActiveDocument.ExportEx("C:\Temp\img.cpt", cdrCPT10, cdrSelection, opt) |
flt.Finish |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.