RescaleImage
Adjusts image for the current page to the specified size.
Syntax
bool RescaleImage ()
Parameters
ImageHeight: String. Output height of the page in pixels. If blank, defaults to 3300 pixels.
ImageWidth: String. Output width of the page in pixels. If blank, defaults to 2550 pixels.
ImageDPI: String. The new DPI of the image. If blank, defaults to 300 DPI.
Smart parameters are supported.
Returns
True, if the operation is successful, else False if any error occurred.
Level
Page level only and the page must refer to a valid single page image file
Details
Scales the image and sets the DPI to the specified values. If it is desired to adjust only one aspect of the image and keep the other values the same as the source image, then SaveImageInformation could first be called to obtain the image information and then the value can be passed as a parameter to this action.
RescaleImage(3300, 2550, 300)This action scales the current page to a 300
DPI image that has a physical size of 11"x8.5".