Image

After adding an image to a layout, you must choose one of these types:

Company Logo
The logo for the current company is retrieved from the Companies (ttaad1100m000) session. If no logo is defined for the current company, the logo of company 0 is used.
Static Image
You can upload an image file in the Report Designer. The image is stored on the LN server.
Image Field
The image field of a table is retrieved. You can upload these images in various LN sessions, such as the Business Partners (tccom4500m000) session.
This option is only available if a report input field of the correct type is available.
Image Path
Specify a report input field that contains the path to the image file on the LN server.
You can create a report extension to add the report input field and set its value to the desired path of the image. Optionally, the report extension can also retrieve the image from an external source, such as IDM.
This option is available only if a report input field of the single-byte string type, with a length of at least 60 characters, is available.

When an image is specified, but its file cannot be found on the LN server, an error is reported when printing.

These properties are available:

Left
Specify the position of the field from the left side of the layout.
This property is only available if the report uses exact positioning.
Top
Specify the position of the field from the top of the layout.
This property is only available if the report uses exact positioning.
Width
Specify the width of the field, in columns.
If the report uses exact positioning, this property is specified as a length.
The image is automatically re-sized to fill the field. This does not change the aspect ratio of the image.
Height
Specify the height of the field, in lines.
If the report uses exact positioning, this property is specified as a length.
Alignment
Specify the horizontal and vertical alignment of the image within the field.
Column
This property is relevant if you export the report to an Excel workbook.
Specify the Excel column on the current sheet where the image should be placed.
If you select multiple items, the specified value is applied to the first selected item. The value is incremented for the other selected items. For example, you have selected four items and you specify B in the Column property. For the first selected item, the value of the Column property is B. For the other three items, the value of the Column property is C, D, and E respectively.
If you leave this property blank, the image is not included in the workbook.
Row
This property is relevant if you export the report to an Excel workbook.
Specify the Excel row number where the image should be placed. The value cannot be greater than the value of the Rows property of the layout in which the image is present.
If you select multiple items, the specified row number is applied to all selected items. Therefore, these items have the same row number.
For ‘non-exact positioned’ reports, the default value for this property is automatically set to the layout line number within the layout. You can edit this value.