Previous Document Next Document

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


StructExportOptions.Dithered

Property Dithered As Boolean

Description

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.
VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.