| Dettagli del download |
|
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. |
|
|||||||||||||||||||||||||||||||||

Gli esempi presenti su questo sito sono stati liberamente inviati dagli utenti di automationforum.it, è stato espressamente specificato loro di inviare solo esempi FREE. Automationforum.it non si ritiene responsabile dell'eventuale presenza di esempi rilasciati sotto licenza commerciale, Automationforum.it invita tutti coloro che individuano esempi rilasciati sotto licenza commerciale presenti in questa raccolta a segnalarlo dall'apposito