ImageGear Professional for Windows ActiveX
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:

Data Type:

AT_BOOL

Valid Values: False, True

Default Value: False

Example:

 
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

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback