ImageGear Professional v18.2 > User Guide > Using ImageGear > Using ImageGear PDF Component > PDF Format Filter > PDF Format Filter Control Parameters Reference > INDEPENDENT_PAGESIZE |
(Used with PDF write only.) If this parameter is False, when saving a raster image into the PDF document, the width and height of the newly created page is set to the width and height of the previous page in the PDF document. If the previous page does not exist, the width and height are calculated from the image resolution and size as follows:
Copy Code
|
|
---|---|
Width = <width of the raster image> * 72 / <X DPI of the raster image>Height = < height of the raster image> * 72 / <Y DPI of the raster image> |
If the image resolution is not defined, the width and height are set to the width and height of the A4 page, which is 612x792.
Use the following parameters to set the page size when this option is True:
AT_BOOL
Valid Values: False, True
Default Value: False
Copy Code
|
|
---|---|
Dim currentFormat As IGFormatParams
Dim currentParameter As IGControlParameter
Set currentFormat =
frmMain.IGFormatsCtl1.Settings.Format(Index)
Set currentParameter =
currentFormat.GetParamCopy("INDEPENDENT_PAGESIZE")
currentParameter.value.Boolean = True
currentFormat.UpdateParamFrom currentParameter
|