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 Aldevinas, Please post your customisations so I can help you....
11:40 20 Feb 2025
Piotr Wycichowski
The register for Order Classes is common for Sales orders and Service orders. When I set an Order Class to create an Activity - it works for Sales Order, while for Service Orders - not. Is any setting...
09:30 18 Feb 2025