Page History
...
$image.limitImageSize(image, maximumWidthPixel, maximumHeightPixel)
Return an image that is scaled to fit the paper page but not bigger than the specified maximumWidth maximumWidthPixel and maximumHeight maximumHeightPixel in terms of pixels.
Name | Type | Description | |
---|---|---|---|
Parameter(s) | image | com.nomagic.magicreport.Image | An image object for the element. |
maximumWidthPixel | int | The maximum width of the resized image in terms of pixels. | |
maximumHeightPixel | int | The maximum height of the resized image in terms of pixels. | |
Return | - | com.nomagic.magicreport.Image | A resized image. |
...