OutFormImage
Gastón Salomone
1-8-19
Hi,

I have a requirement in one Project to put an image in a Document.
The problem is that the Image should change depending on some data in the register, so Its not posible to set a filename in Picture box in Document designer.

I managed to set a blank filename in a Picture box and use OutFormImage(XXXVc) to pass a picture attach to XXXVc Register. The problem is that XXXVc must be the same on which the document is based.
Por example, if I´m printing an Invoice, I must attach a picture to every Invoice and use OutFormImage(IVr).

Is there any code to set filename dinamically ?

There are several different images, so there is no posibility to create one Document for each image, because If any change is requiered in the document design, t must be done in all documents manually.

Regards
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
David Delač
Hi Piotr, The log entry:
2024-12-14 08:40:43 0.000 CallHal(IsHansaWorldCustomer) appears because the server is running with the verbosity=debug-detailed setting in its parameters.txt file. Thi...
09:43 16 Dec 2024
Brittany McGrath
Hi Vaughn, I can confirm this has been fixed now and is live in Standard ERP 2024-11-20 Version: 85556786. Thank you. ...
10:04 10 Dec 2024