Object Model Reference : Classes : S : StructExportOptions : Properties : StructExportOptions.Dithered |
Property Dithered As Boolean
Member of StructExportOptions
The Dithered property specifies whether a bitmap image is dithered upon export.
• |
This property applies only when exporting to black-and-white bitmaps. You
can specify the dithering method for paletted bitmaps by using the
StructPaletteOptions.DitherType property.
|
The following VBA example exports the drawing as a black-and-white dithered BMP file.
Sub Test() |
Dim opt As New StructExportOptions |
Dim flt As ExportFilter |
opt.ImageType = cdrBlackAndWhiteImage |
opt.Compression = cdrCompressionPackBits |
opt.Dithered = True |
Set flt = ActiveDocument.ExportEx("C:\Temp\img.bmp", cdrBMP, cdrCurrentPage, opt) |
flt.Finish |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.