Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Watermark in report
Message
De
10/09/2013 00:29:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Titre:
Watermark in report
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01582656
Message ID:
01582656
Vues:
55
I want to put a background image in a report as a watermark, I found the article translated by luis maria Guayan
in PortalFox here is the code but as I do so I would not locate for the class system but take it directly
_SCREEN.AddProperty("System", NEWOBJECT("xfcSystem", LOCFILE("system.vcx","vcx")))

LOCAL loListener as ReportListener 
loListener = CREATEOBJECT("WatermarkListener")
loListener.LISTENERTYPE = 1
loListener.WaterMarkImage = ADDBS(HOME()) + "Graphics\Gifs\morphfox.gif"
loListener.WaterMarkType = 2 && 1 = Color ; 2 = Escala de grises
loListener.WaterMarkTransparency = 0.25 && 0 = Transparente ; 1 = Opaco
loListener.WaterMarkWidthRatio = 0.75 && 0 - 1
loListener.WaterMarkHeightRatio = 0.75 && 0 - 1

* Ejecute el informe usando el nuevo motor de informes (la salida objeto-asistida)
REPORT FORM (ADDBS(HOME()) + "samples/solution/europa/employeesmd.frx") OBJECT loListener
RETURN
also also gives me this error when I try to print, propety AFRXPAGES IS NOT FOUND and propety nprtpaersize is not found
Jose Manuel Ramirez
Répondre
Fil
Voir

Click here to load this message in the networking platform