API Documentation > CorelDRAW > 2025-v26 > StructExportOptions > IVGStructExportOptions
StructExportOptions.ResolutionX property
Syntax:
Property Get ResolutionX() As Long
Property Let ResolutionX(ByVal Value As Long)
Remarks:
The ResolutionX property returns or specifies the horizontal resolution of an exported bitmap.
Examples:
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