Previous Document Next Document
StructExportOptions.Dithered

Property Dithered As Boolean

Member of StructExportOptions

The Dithered property specifies whether the bitmap image should be dithered when exporting.

This property applies only when exporting to black-and-white bitmaps. You can specify the dithering method for paletted bitmaps by using the DitherType property.

The following code example exports the drawing to 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.