Previous Document Next Document

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


StructExportOptions.SizeY

Property SizeY As Long

Description

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.
VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.