![]() |
![]() |
StructExportOptions.SizeX
Property SizeX As Long
Member of StructExportOptions
The SizeX property returns or sets the horizontal 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 code 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 2007 Corel Corporation. All rights reserved.