### Image

The properties of an image are:

Property Name | Description
--- | ---
General
Class Type | Indicates the class type of the object. This property is read only.
Geometry
Height | Specifies the height of the object, in inches or centimeters. Enter a numeric value to change the height. Data type: Float
Width | Specifies the width of the object, in inches or centimeters. Enter a numeric value to change the width. Data type: Float
X | Specifies the horizontal coordinate of the top left corner of the object, relative to its parent container. This property is ignored if the Position property is set to static. Enter a numeric value to change the position in inches or centimeters. Data type: Float
Y | Specifies the vertical coordinate of the top left corner of the object, relative to its parent container. This property is ignored if the Position property is set to static. Enter a numeric value to change the position in inches or centimeters. Data type: Float
CSS
Class | Specifies a CSS class to be applied to the object which is a valid class in the CSS file. Data type: String
ID | Specifies the identifier of the object, which must be unique in the report set. The ID property can be a style sheet selector. Data type: String
Style | The property can be used in two ways. Specifies a style to be applied to the object. Choose a style from the drop-down list which is available when a Style Group has been selected at the report level and when there are styles in the Style Group that can be applied to the object, or type in the style name. Specifies a CSS selector to be applied to the object. Enter a valid class name from the CSS file. Data type: String
Others
Detail Report | Specifies the detail report that the object is linked to. The link is available when the report is run in DHTML format. For details about how to set up the link, refer to Linking a report to a detail report. Data type: String
Detail Target Frame | Specifies the target window or frame in which to display the detailed information. This property is enabled only when Go To Detail is set to true. Choose an option from the drop-down list or directly input the name of the frame you have defined. <Server Setting> Loads the detailed information according to setting of the Pop Up New Window for Links option in the DHTML tab of the Profile dialog in JReport Enterprise Server. New Window Loads the detailed information into a new window. The window is not named. Whole Window Loads the detailed information into the full browser window. Same Frame Loads the detailed information into the same frame as the object. Parent Frame Loads the detailed information into the parent frame of the frame in which the object is. Other Frame Loads the detailed information into some other specified frame. If the frame name does not exist, the detailed information will be loaded into a new window. Data type: String
Export to DHTML | Specifies whether to include the object when exporting the report to DHTML. Data type: Boolean
Export to Excel | Specifies whether to include the object when exporting the report to Excel. Data type: Boolean
Export to PDF | Specifies whether to include the object when exporting the report to PDF. This property is available only when a web control has been inserted into the object. Data type: Boolean
Go to Detail | Specifies whether to show the detailed information when you click the object in JReport Web. This property is available only when the object is in the group header/footer panel of a banded object. For details about its usage, refer to Obtaining detailed information from a banded object. Data type: Boolean
Horizontal Alignment | Specifies the horizontal alignment of the image in the container. Choose an option from the drop-down list. Data type: Enumeration
Invisible | Specifies whether to show the object in the design area and in the report results. All formulas and calculations will still be performed if the property is set to true. Data type: Boolean
Link | Specifies to link the object to another report, a website, or an e-mail address. The link is available when you view the report in HTML, DHTML, PDF, or Excel format. Data type: String
Position | Specifies the position of the object. Choose an option from the drop-down list. static - The object is positioned at the location in which it is inserted. The X and Y properties are ignored. The position of the object is affected by preceding objects in the same container. relative - The object is positioned at an offset to the position at which it is inserted. The offset is determined by the X and Y property values. absolute - The object will be located at the position specified by dragging and dropping or by setting its X and Y property values. The position of the object is not affected by preceding objects in the same container. Data type: Enumeration Note: This property only affects objects with a parent container that is the report body, a table cell, a tabular cell, or a text box.
Record Location | Specifies the calculation point for the properties which use formulas. Choose an option from the drop-down list. default - The values of the properties are calculated in the default location where they are located. Page Header - The values of the properties are calculated in the page header. Page Footer - The values of the properties are calculated in the page footer. Data type: Enumeration
Suppress | Specifies whether to show the object in the report results. All formulas and calculations will be skipped if the property is set to true. Data type: Boolean
Suppress When No Records | Specifies whether to display the object in the report results when no record is returned to its parent data container. Data type: Boolean
Transfer Style | Specifies whether the style of the primary report will be applied to the linked report if the object is linked to a report. Data type: Boolean
Vertical Alignment | Specifies the vertical alignment of the image in the container. Choose an option from the drop-down list. Data type: Enumeration
Excel
Column Index | Specifies the X coordinate of the object relative to its parent container when exported to Excel or CSV, measured in cells. The Columned property at the report level must be set to true for this property to take effect. Data type: Integer
Column Number | Specifies the number of columns which will be the object's width in the exported Excel file. The Columned property at the report level must be set to true for this property to take effect. Data type: Integer
Row Index | Specifies the Y coordinate of the object relative to its parent container when exported to Excel or CSV, measured in cells. The Columned property at the report level must be set to true for this property to take effect. Data type: Integer
Row Number | Specifies the number of rows which will be the object's height in the exported Excel file. The Columned property at the report level must be set to true for this property to take effect. Data type: Integer
Image Property
Alternate Text | Specifies the text that will be displayed instead if the image cannot be displayed. Data type: String
Disabled | Specifies whether to disable the actions on the image. Data type: Boolean
Image Name | Specifies the file name of the image. Data type: String
Maximum Scaling Ratio | Specifies the maximum ratio up to which the image can be scaled. Data type: Float
Name | Specifies the name of the image. Data type: String
Rotation | Specifies the angle at which to rotate the image, in degrees. The following is the meaning of different values: 0 - No rotation. positive value - Rotate the image clockwise. negative value - Rotate the image anticlockwise. Data type: Float
Scaling Mode | Specifies the scaling mode of the image, which controls the image behavior when you try to adjust the image field size. Choose an option from the drop-down list. actual size - The image will remain its original size. If the image field size is smaller than the image size, part of the image will be cut off. fit image - The image size will be automatically adjusted to fill up the image field, with its original perspective remained but under the limitation of Maximum Scaling Ratio. fit width - The image will be automatically adjusted to fit the width of the image field but under the limitation of Maximum Scaling Ratio. fit height - The image will be automatically adjusted to fit the height of the image field but under the limitation of Maximum Scaling Ratio. customize - The image size will be automatically adjusted to fit the image field, regardless of the Maximum Scaling Ratio's value. Data type: Enumeration
Tab Index | Specifies the index that defines the tab order for the image. Data type: Integer
Title | Specifies the tip information about the image, which will be displayed when you hover the mouse pointer over the image after the report is export to HTML or DHTML. Data type: String
Value | Specifies the initial value of the image. Data type: String
Event
On Blur | Specifies the action when the object loses input focus. Data type: String
On Click | Specifies the action when the user clicks the left mouse button on the object. Data type: String
On Double Click | Specifies the action when the user double-clicks the object. Data type: String
On Focus | Specifies the action when the object receives focus. Data type: String
On Key Down | Specifies the action when the user presses a key. Data type: String
On Key Press | Specifies the action when the user presses an alphanumeric key. Data type: String
On Key Up | Specifies the action when the user releases a key. Data type: String
On Mouse Down | Specifies the action when the user clicks the object with either mouse button. Data type: String
On Mouse Move | Specifies the action when the user moves the mouse over the object. Data type: String
On Mouse Out | Specifies the action when the user moves the mouse pointer outside the boundaries of the object. Data type: String
On Mouse Over | Specifies the action when the user moves the mouse pointer into the object. Data type: String
On Mouse Up | Specifies the action when the user releases a mouse button while the mouse is over the object. Data type: String
TOC
Anchor Display Value | Specifies the text for the TOC entry for this object in the TOC browser. By default the text is the unique object name assigned by JReport Designer. The TOC Anchor property must be set to true for this property to take effect. Data type: String
TOC Anchor | Specifies whether to include the object in the TOC browser for the report. Data type: Boolean
Accessibility
External AccessKey | It is mapped to the HTML attribute accesskey. This attribute specifies an access key to the object. Data type: String
External CSS Class Selector | Specifies a class selector to be applied to the object when exported as HTML. Enter a valid class name from the CSS file. Data type: String
External ID | It is mapped to the HTML attribute id. This attribute specifies a name to the object, which must be unique in the report. Data type: String
External Style | It is mapped to the HTML attribute style. This attribute specifies style information for the object. Data type: String
HrefLang | It is mapped to the HTML attribute hreflang. This attribute specifies the base language of the resource designated by a link and may only be used when a link is specified. Data type: String
Language | It is mapped to the HTML attribute lang. This attribute specifies the base language of the object's attribute values and text content. Data type: String

#### Event property values

The provided values are based on the image client API in Version 7. The following table lists their mapping values in current version. For information about the descriptions and parameters of the mapping values, see Other web actions.

Value | Mapping Name
--- | ---
exit(popwin) | user_exit()
firstPage() | user_firstPage()
lastPage() | user_lastPage()
nextPage() | user_nextPage()
oneStepfilter(columns, operators, values, logics) | user_oneStepfilter(columnMappingNames, operators, values, logics, instanceName)
oneStepSearch(value, isContent, colName, isUp, matchcase, isWordOnly) | user_oneStepSearch(value, isContent, colName, isUp, matchcase, isWordOnly)
oneStepSort(columns, sorts) | user_oneStepSort(columnMappingNames, orders, instanceName)
prevPage() | user_prevPage()
redo() | user_redo()
refresh() | user_refresh()
reset() | user_reset(instanceName)
saveRpt() | user_saveRpt()
searchNext(isFindTxt) | This API is not supported now.
saveRst() |
showExportExcelDlg() |
showExportHTMLDlg() |
showExportPDFDlg() |
showExportPSDlg() | user_showSaveResultDialog()
showExportRtfDlg() |
showExportTextDlg() |
showExportXmlDlg() |
showFilterPanel() | user_showFilterDialog()
showHelp() | user_showHelp(null)
showNavibar() | This API is not supported now.
showPageSetupDlg() | user_showPageSetupDialog()
showPrintDialog() | user_showPrintDialog()
showSearchDlg() | user_showSearchDialog()
showSortPanel() | user_showSortDialog()
showTOC() | user_showTOC()
showUserPanel() | user_showUserPanel()
undo() | user_undo()
zoom(value) | user_zoomTo(value)