Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%ZEN] >  [Report] >  [Display] >  [img]
Private  Storage   

deprecatedclass %ZEN.Report.Display.img extends childrenNode, tableOutput

Renders an image into the report display.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
10 2


Summary

Properties
altText applyLevel blockContainerProperty caption
children class colcount colspan
composite contentHeight contentType contentWidth
crosstabDataGroup crosstabFooterDataField crosstabFooterFormatNumber crosstabFooterGroup
crosstabHeaderDataField crosstabHeaderGroup crosstabHeaderGroupLabels crosstabHeaderGroupTooLongText
crosstabHeaderLabelDataField crosstabHeaderMatchField crosstabRowGroup crosstabTruncationHeight
crosstabTruncationWidth field foblock group
grouppath hasFooter hasHeader height
htmlstyle id ifexpression ifxpath
includeBlockContainer includeColIfExpression includeColIfXPath includeColUnlessExpression
includeColUnlessXPath level linefeedTreatment removeEmpty
rowspan selectstylecond selectstylelist src
style stylecall styleparamNames styleparams
tag template tooLongText truncate
truncationHeight truncationWidth unlessexpression width
withinSmallmultiple xmlnamespace xmlnamespaceprefix xpath
xslfostyle

Methods
%AddToSaveSet %ApplyClass %ApplyLevelParameters %BeginGroup
%BeginGroupNoInc %ClassIsLatestVersion %ClassName %ConstructClone
%DeclareLevelParameters %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%DrawCellFO %DrawCellFO1 %DrawCellToHTML %DrawCellToHTML1
%DrawFooterFO %DrawFooterToAnnotatedXML %DrawFooterToHTML %DrawHeaderFO
%DrawHeaderToHTML %DrawSort %DrawStyleToHTML %DrawToAnnotatedXML
%DrawToHTML %DrawToXSLFO %EndGroup %EndLevel
%Extends %FooterWidth %GetAbsoluteURL %GetParameter
%HeaderWidth %IncLevel %IsA %IsModified
%New %NormalizeObject %ObjectModified %OldWidth
%OriginalNamespace %PackageName %QuoteValue %QuoteValueEmbedded
%QuoteValueL10N %RemoveFromSaveSet %SerializeObject %SetModified
%StyleHTML %StyleXSLFO %ValidateObject %Width
ApplyClass CSPLinkToFileLink CountSpaces DoDocForHTML
GetDocForXSLFO HTMLStyle OutputId XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType XSLFOStyle
hasFooterGet hasHeaderGet insertAxis isCSPLink
needsURL parent processExclamationPoint qualify
tagGet


Properties

• property altText as %ZEN.Datatype.string(XMLNAME="alt-text");
• 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.

Methods

• method %DrawToHTML(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, delay As %GlobalCharacterStream, ByRef incell As %Boolean) as %Status
This method outputs the necessary stylesheet information for the HTML report. Every tag should override this method.
• method %DrawToXSLFO(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, delay As %GlobalCharacterStream, ByRef incell As %Boolean = 0) as %Status
This method outputs the necessary stylesheet information for the PDF report. Every tag should override this method.


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.