Previous Document Next Document

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


StructExportOptions.ResolutionY

Property ResolutionY As Long

Description

Member of StructExportOptions

The ResolutionY property returns or specifies the vertical resolution of an exported bitmap.

VBA example

The following VBA 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 2013 Corel Corporation. All rights reserved.