Previous Document Next Document
StructExportOptions.ResolutionX

Property ResolutionX As Long

Member of StructExportOptions

The ResolutionX property returns or sets the horizontal resolution of a bitmap that is being exported.

The following code example exports the current selection to a CMYK TIFF image with 300 dpi resolution:

Sub Test() 
 Dim opt As New StructExportOptions 
 Dim flt As ExportFilter 
 opt.ResolutionX = 300 
 opt.ResolutionY = 300 
 opt.ImageType = cdrCMYKColorImage 
 opt.Compression = cdrCompressionLZW 
 Set flt = ActiveDocument.ExportEx("C:\Temp\img.tif", cdrTIFF, 
cdrSelection, opt) 
 flt.Finish 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.