Previous Document Next Document

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


StructExportOptions.AntiAliasingType

Property AntiAliasingType As cdrAntiAliasingType

Description

Member of StructExportOptions

The AntiAliasingType property returns or specifies an anti-aliasing algorithm when exporting to bitmap-image formats.

This property returns a value of cdrAntiAliasingType.

VBA example

The following VBA example exports the current page as a GIF file without anti-aliasing.

Sub Test()
 Dim opt As New StructExportOptions
 Dim flt As ExportFilter
 opt.AntiAliasingType = cdrNoAntiAliasing
 Set flt = ActiveDocument.ExportEx("C:\Temp\img.gif", cdrGIF, cdrCurrentPage, opt)
 flt.Finish
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.