Focal Point
[CLOSED] gif in a pdf

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8437069456

January 02, 2014, 08:35 AM
otto
[CLOSED] gif in a pdf
GRAPH FILE CAR
SUM DEALER_COST
ACROSS COUNTRY
ON GRAPH PCHOLD FORMAT PDF
ON GRAPH SET GRAPHSTYLE *
setPlace(true);
setTextString(getAnnotation(0)," ");
setTextureURL(getAnnotationBox(0),"\images\graph\graph1.gif");
setDisplay(getAnnotation(0),true);
setFillType(getAnnotationBox(0),3);
setRect(getAnnotation(0),new Rectangle(-12533.0,6303.0,8000.0,7757.0));
END

Hello,

The above will populate a box on a pdf.
However I do not want to use the graph1.gif rather an uparrow.gif.
I cannot see where to put the uparrow.gif so that it will get picked up by the pdf.

I believe looking at some previous posts it may be to do with the APP Path but I'm not sure.

This message has been edited. Last edited by: <Kathryn Henning>,


WF 8201, Windows Server 2012 R2, SQL Server 2014, HTML, PDF, Excel, Powerpoint, Active Report
January 02, 2014, 10:16 AM
Mighty Max
GIF needs to be placed on the Reporting Server.
C:\ibi\WebFOCUS76\ibi_html\javaassist\images\tdg

Also read this post. Talks about your issue.
[CASE-OPENED] Images on Graphs in PDF


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
January 02, 2014, 12:17 PM
susannah
bulletproof way to do this (read "lazy work around") is to copy all the images you want to use into your current agent directory before you start your pdf;
issue a bunch of CMD COPY statements at the top your your fex, eg:
CMD COPY C:/ibi/apps/someplace/myimage.gif myimage.gif
then in your stylesheets, just reference the image by name ,myimage.gif, not path, and voila.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID