Previous Document Next Document
StructExportOptions.ResolutionY

Property ResolutionY As Long

Member of StructExportOptions

The ResolutionY property returns or sets the vertical resolution of a bitmap image 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.