Syntax
Document.Resize ( NewWidth, NewHeight )
Parameters
Short NewWidth - specifies the desired width of the image is pixels
Short NewHeight - specifies the desired height of the image is pixels
Returns
Nothing
Remarks
Changes the width and height of the image. The aspect ratio of the image will change if the new width and height are not in the same proportion to their previous values. This method is equivalent to, but more efficient than, changing the XSize and YSize properties. If FITS keywords XPIXSZ and YPIXSZ are defined for the image, their values are adjusted to reflect the resulting pixel size.
See also DoubleSize, HalfSize and MakePixelsSquare for other resizing methods with special characteristics.
This method is equivalent to the Resize command.