Object Model Reference : Classes : S : StructExportOptions : Properties : StructExportOptions.ResolutionX |
Property ResolutionX As Long
Member of StructExportOptions
The ResolutionX property returns or specifies the horizontal resolution of an exported bitmap.
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 |
Copyright 2013 Corel Corporation. All rights reserved.