ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > ResizeCanvas Method |
Changes the dimensions of the image referenced by IGPage Object. The image data in the bitmap is not stretched or compressed, but copied to the specified offset in the new image.
Sub ResizeCanvas(pPage As IGPage, NewWidth As Long, NewHeight As
Long, XPos As Long, YPos As Long, ResizeMode As
enumIGResizeModes)
Name | Description |
---|---|
Page | IGPage Object image to resize. |
NewWidth | Width of the image after resize. |
NewHeight | Height of the image after resize. |
XPos | X offset at which to put left top corner of the image after resize. |
YPos | Y offset at which to put left top corner of the image after resize. |
ResizeMode | Specifies whether new dimensions are actual dimensions or percentages. |
N/A
All
Image Processing and Effects