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
Piotr Wycichowski
--verbosity=silent is something new, not listed in FAQ (parameters.txt possible parameters and descriptions)......
10:16 9 Jan 2025
Piotr Wycichowski
Hi, We noticed weird behaviour of version SERP 8.5 241211/85557168 when client upgraded system MacOS to Sequoia 15.2. Client 1 can connect in LAN without any problem, while client 2 - not (looking ...
10:07 9 Jan 2025