ImageGear Professional for Windows ActiveX
PAGE_WIDTH

(Used with PostScript write only.) This parameter sets the width of the page (in 1/72 inches). If this option is 0, the width is calculated from the image resolution and size as follows:

Width = <width of the raster image> * 72 / <X DPI of the raster image>

If the image resolution is not defined, the width is set to the width of the A4 page, which is 612.

This option is not used if RESOLUTION_X is False.

Data Type:

UINT

Valid Values: Any non-negative value.

Default Value: 0

Example:

 
Copy Code
Dim currentFormat As IGFormatParams
Dim currentParameter As IGControlParameter
Set currentFormat =
frmMain.IGFormatsCtl1.Settings.Format(Index)
Set currentParameter = currentFormat.GetParamCopy("PAGE_WIDTH")
currentParameter.value.Long = 612
currentFormat.UpdateParamFrom currentParameter

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback