ImageGear Professional v18.2 > User Guide > Using ImageGear > Using ImageGear PDF Component > PDF Format Filter > PDF Format Filter Control Parameters Reference > 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.
UINT
Valid Values: Any non-negative value.
Default Value: 0
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
|