Object Model Reference : Classes : S : StructExportOptions : Properties : StructExportOptions.SizeY |
Property SizeY As Long
Member of StructExportOptions
The SizeY property returns or specifies the vertical size of an exported bitmap. This property is measured in pixels.
• |
If neither SizeX nor SizeY is specified, the size of the bitmap is calculated
based on the size of the objects being exported and the specified bitmap
resolution.
|
The following VBA example exports the current selection to a 100 × 100 pixel TIFF image.
Sub Test() |
Dim opt As New StructExportOptions |
Dim flt As ExportFilter |
opt.SizeX = 100 |
opt.SizeY = 100 |
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.