Report Element Properties / General Properties |
The location of an image file.
In the Properties view, this property is the Location property in the Image category.
Location values are URLs supporting the protocols "http", "file" and "data".
The location can be set to an absolute path and filename. In this instance, the image file remains the same for the duration of the report.
Variables (RTL expressions) can be used if the image file will change during processing, such as when the image file name is stored in the database and the value can change for each row processed. You specify a URL based on one or more variables using an RTL expression. This is demonstrated in the "OrderReport.4rp" where the "ImageBox2" element has the expression "./images/database/"+orderline.product.prodpic.trim()"
Type: String.