Questo sito utilizza i cookie per migliorare servizi ed esperienza degli utenti. Se decidi di continuare la navigazione consideriamo che accetti il loro uso.

Panoramica Cerca Sopra
Dettagli del download
Custom report used to print a pic Custom report used to print a picture
(0 voti)

CustomReport_DynamicPicture is a project designed to show how to use a custom report of type FastReport to print a picture selected from the list. The available pictures are not stored in the custom report, but they are loaded dynamically from a file when generating the custom report. In the visualization window, there is a Combo Box component in which the pictures are specified. The picture files are located in the <Project>Pictures folder.

Tags named PictureFileName, PictureName, and PictureDir are defined via the Device Manager. They are used to build up the picture file names. Two scripts are defined through the Script Manager. The Init script is used to set the picture file directory in the PictureDir tag. The PictureFileName script is used to build up the path to the selected picture's file.

The visualization window contains two Display components that display the values of the PictureDir and PictureFileName tags. The Combo Box component is used to select a picture from the list. The Picture component allows you to show the selected picture.

A custom report of type FastReport is defined via the Custom Report Manager. For this report, an item named PictureFileName is defined. This item is linked to the PictureFileName tag. In the report design work space, a picture object is inserted. A script is then used to load the selected picture to this object when generating the report.

Informazioni

Versione:
Dimensione40.21 KB
Downloads0
Lingua
Licenza
Autore
Sito Web
Prezzo
Creato24-08-2015
Creato da
Modificato il24-08-2015
Modificato daroby

Solo gli utenti registrati e loggati possono scaricare questo file.

.

.