Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


$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.

 NameTypeDescription
Parameter(s)imagecom.nomagic.magicreport.ImageAn image object for the element.
 maximumWidthPixelintThe maximum width of the resized image in terms of pixels.
 maximumHeightPixelintThe maximum height of the resized image in terms of pixels.
Return-com.nomagic.magicreport.ImageA resized image.

...