class %ZEN.Report.Display.img
extends childrenNode, tableOutput
Renders an image into the report display.
property contentHeight
as %ZEN.Datatype.length;
Specifies the height of the image.
property contentType
as %ZEN.Datatype.string(XMLNAME="content-type");
Specifies the content-type of the image
property contentWidth
as %ZEN.Datatype.length;
Specifies the width of the image.
property field
as %ZEN.Datatype.string(XMLPROJECTION="NONE");
property group
as %ZEN.Datatype.string(XMLPROJECTION="NONE");
property height
as %ZEN.Datatype.length;
Specifies the height of the image.
property removeEmpty
as %ZEN.Datatype.boolean(XMLPROJECTION="NONE") [ InitialExpression = 0 ];
property src
as %ZEN.Datatype.uri [ Required ];
Specifies the source of the image.
If the src attribute begins with an exclamation point, it is interpreted
as an XPath expression just as in the field attribute of the <item> tag.
This allows you to dynamically generate URLs within the XML data, and then
use these customized URLs as the image source. Note: when using ! to dynamically
get the image URL, it must be an absolute URL or it will not appear in the PDF
report.
property width
as %ZEN.Datatype.length;
Specifies the width of the image.