ImageGear Professional v18.2 > User Guide > Using ImageGear > Using ImageGear PDF Component > PDF Format Filter > PDF Format Filter Control Parameters Reference > PAGE_WIDTH |
(Used with PDF 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:
Copy Code
|
|
---|---|
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.
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_WIDTH")
currentParameter.value.Long = 612
currentFormat.UpdateParamFrom currentParameter
|