You can include images from an external source in a report. The supported image types are BMP, JPG, WBMP, GIF, and PNG. $image.include(location)Include an external image from a local file or URL in a report.
| Name | Type | Description |
---|
Parameter(s) | location | java.lang.String | An image’s location. The location format can be either a URL or a local file. | Return | - | com.nomagic.magicreport.Image | An image included in a report |
For example: $image.include("C:\Users\username\images\logo.gif")
$image.include("http://www.magicdraw.com/images/product_boxes/MD.gif") |
|