You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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.

 NameTypeDescription
Parameter(s)locationjava.lang.StringAn image’s location.
The location format
can be either a URL
or a local file.
Return-com.nomagic.magicreport.ImageAn image included
in a report

For example:

$image.include("c:/my document/logo.gif")
$image.include("http:/www.nomagic.com/images/product_boxes/MD.gif")