ImageGear Professional for Windows ActiveX
PAGE_HEIGHT

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

 
Copy Code
Height = < height of the raster image> * 72 / <Y DPI of the raster image>

If the image resolution is not defined, the height is set to the height of an A4 page, which is 792.

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_HEIGHT")
currentParameter.value.Long = 792
currentFormat.UpdateParamFrom currentParameter

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback