mar. 14 mai 2013, 14h36
Cesar Ch
Brésil
atoutfox.public.association
Re: Cesar CHALOM : nWatermarkTransparency
Salut Jean !
>>J'ai un problème avec le filigrane (watermark) : quand on est dans le
fenêtre de prévisualisation et que l'on clique sur 'imprimer', c'est la même
image que celle qui est affichée qui est envoyer à l'imprimante ? En d'autre
termes, dans la fenêtre de prévisualisation, il est trop tard pour modifier le
paramètre nWatermarkTransparency ?
Yes, my friend. You can't change the Watermark definitions after the report is previewed.
FoxyPreviewer, before rendering the first page, creates the needed watermark images, and store them in a temporary folder, to be used in the preview and also for exporting. When you make changes in those properties during the preview, these images were already created, so you can't update at that moment.
>>Dans la toolbar frxpreviewtoolbar, j'ai ajouté un spinner pour modifier
_screen.foxyprviewer.nWatermarkTransparency mais cela ne change rien à
l'impression !
Same thing that I said above, setting those properties at runtime would not make any effect!
In my tests, I noticed that the report engine sometimes gon crazy when I made modifications at runtime. That's because the report was already processed, and this would oblige us to run almost all the report again, and lots of issues could come.
Sorry for not being of more help.
If I were you, I would add a separate form, allowing your users to make those modifications, and save the settings for the next report sessions. This would be really safe!
By the way, I've just posted the full offline documentation. This still needs some updates, but most of the important stuff is already there!
http://www.atoutfox.org/articles.asp?ACTION=FCONSULTER&ID=0000000858Best regards
Cesar
Permalink : http://www.atoutfox.org/nntp.asp?ID=0000011961