Java Reference
In-Depth Information
RetainShape : The image will resize itself to fit in the area defined by
<reportElement> . If the image width changes to fit in this area, the height will
be proportionally changed so that the image retains it shape, and vice versa.
Attributes of the <image> Element
The <image> element contains other attributes that allow us to control how the
image will be displayed in the report. The following sections summarize most of
these attributes.
evaluationTime
This attribute determines when the associated <imageExpression> will be
evaluated. The valid values for this attribute are listed below:
Band : The expression is evaluated when the containing band has rendered all
other components.
Column : The expression is evaluated when the end of the current column
is reached.
Group : The expression is evaluated when the group, indicated by the
evaluationGroup attribute, changes.
Now : The expression is evaluated when filling the containing band . This is the
default value.
Page : The expression is evaluated when the end of the current page
is reached.
Report : The expression is evaluated when the end of the report is reached.
evaluationGroup
When evaluationTime is Group , this attribute determines the group name to be
used to evaluate the associated <imageExpresson> . The value for this attribute must
match the name of the group we would like to use as the evaluationGroup .
hAlign
The hAlign attribute indicates the horizontal alignment of the image. The valid
values for this attribute are listed below:
Center : The image will be centered.
Left : The image will be left-aligned. This is the default value.
Right : The image will be right-aligned.
 
Search WWH ::




Custom Search