Graphic form Database

Graphic form Database

Postby HKoestler on Sat Jul 22, 2006 10:39 am

Hello

In visualEasyPDF I am able to insert graphics. This graphic I can bind on a database Field Data (Database). Within a Database View I build a complete http:// path to the image File. But I don’t see the images in the result pdf?
Where is my problem?

Thank you for help

Horst
HKoestler
 
Posts: 5
Joined: Mon Jun 05, 2006 10:04 am
Location: Germany

Postby John on Wed Aug 09, 2006 9:59 pm

You may change the logo by code with the GetPropObj function and the SetPropObj, see this example:

' The logo image has been named in VisualEasyPDF as LOGO, what we do is
' check that the image really exists:
if ERP.GetPropObj( "LOGO", 900 ) <> "" then
'Now we change the URL path
ERP.SetPropObj( "LOGO", 940, "file:///" + Logo_File );
end if

For an http: then set the following string:

ERP.SetPropObj( "LOGO", 940, "http://" + Logo_URL );
John Lohmeyer
MITData, S.C.P
John
 
Posts: 1313
Joined: Wed Oct 31, 2001 10:23 am
Location: Spain


Return to ReportPDF

Who is online

Users browsing this forum: No registered users and 1 guest

cron

Fatal error: Not able to open ./cache/data_global.php in D:\Hosting\6480136\html\ForosBB3\includes\acm\acm_file.php on line 106