FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WD20] Report with a pdf as backround and some rectangles with opacity
[WD20] Report with a pdf as backround and some rectangles with opacity
Débuté par Michael Drechsel, 02 mai 2016 13:19 - 2 réponses
Connectez-vous…
Michael Drechsel
#1
Posté le 02 mai 2016 - 13:19
Hi,
I´m looking for a possibility to print a report with a pdf as background (is a map of a building).
In some cases I must print a rectangle over the pdf with 90 percent opacity to mark areas.
Can´t find how to set the opacity for a rectangle ....
Any ideas ?
Signaler
0
0
Al
#2
Posté le 03 mai 2016 - 00:21
Hello Michael
I have not done this but, the image control in a report has a transparency option to tick "According to the image".
I would start with a .png type image as it supports transparency so if you can set the transparency of the image when you save it, the report should use that when it prints it ?
The pdf background part is straight forward
In my case I have a generic global variable for say an A4 invoice background and use that to reference a pdf file so I can just swap the file to suit the clients letterhead.
iPrintImage(GDRIA4BkgrndPDF,0,0, iPageWidth() , iPageHeight() , iNormalDisplay)
Regards
Al
Signaler
0
0
Michael Drechsel
#3
Posté le 03 mai 2016 - 09:07
Hi Al,
yes, I make some tests with half transparency rectangles. It works so far. The challange would be, these rectangles to place at the right position.
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte