Properties of Image in Page Report
The properties of an image object in a page report are:
Property Name | Description |
---|---|
General | |
Class Type | Indicates the class type of the object. This property is read only. |
Instance Name | Shows the instance name of the object. This property is read only. |
Geometry | |
Height | Specifies the height of the object. Enter a numeric value to change the height.
Data type: Float |
Width | Specifies the width of the object. 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.
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.
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. The ID property can be a style sheet selector.
Data type: String |
Style | The property can be used in two ways.
Data type: String |
Others | |
Detail Report | Specifies the detail report that the object is linked to. Select in the value cell to set the detail report. For details, refer to Linking 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.
Data type: String |
Export to Applet | Specifies whether to include the object when exporting the report to Applet.
Data type: Boolean |
Export to Excel | Specifies whether to include the object when exporting the report to Excel.
Data type: Boolean |
Export to HTML | Specifies whether to include the object when exporting the report to HTML.
Data type: Boolean |
Export to PDF | Specifies whether to include the object when exporting the report to PDF.
Data type: Boolean |
Export to PostScript | Specifies whether to include the object when exporting the report to PostScript.
Data type: Boolean |
Export to Report Result | Specifies whether to include the object when exporting the report to Report Result.
Data type: Boolean |
Export to RTF | Specifies whether to include the object when exporting the report to RTF.
Data type: Boolean |
Go to Detail | Specifies whether to show the detailed information when you select the object in Page Report Studio. 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, an e-mail address or a Blob data type field. Select in the value cell to set the link target. For details, see Binding a Link to a Label.
Data type: String |
Logic Column | Specifies whether to show the object in the next visible table cell in the same row when the column which holds the object is hidden. Choose an option from the drop-down list.
Data type: Enumeration Notes:
|
Position | Specifies the position of the object. Choose an option from the drop-down list.
Data type: Enumeration |
Record Location | Specifies the calculation point for the properties which use formulas. Choose an option from the drop-down list.
Data type: Enumeration |
Suppress | Specifies whether to show the object in the design area and in the report results. All formulas and calculations will be skipped if the property is set to true.
Data type: Boolean Note: When both the Invisible and Suppress properties of an object are set to true, Suppress has the higher priority. |
Suppress When No Records | Specifies whether to display the object in the report results when no record is returned to its parent data component.
Data type: Boolean |
Transfer Style | Specifies whether the style group 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 tab 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 tab 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 tab 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 tab 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. The image can be one on your local file system or retrieved by using a URL.
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:
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.
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 in HTML result or Page Report Studio.
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 Select | Specifies the action when the user selects the left mouse button on the object.
Data type: String |
On Double Select | 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 selects 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 a string or formula to display for the TOC entry for this object in the TOC Browser. By default it is the value of the specified object. 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 |
LongDesc | It is mapped to the HTML attribute longdesc. This attribute specifies a link to a long description of the object.
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 Appendix 2: Parameters of User Defined 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) |