Web reference to background image

Web reference to background image

Forum member · Apr 18, 2007
Hi, I am trying to add an image using a web reference (url), the same way which is described in the following thread: http://www.DynamicPDF.com/Forums/DisplayThread.csp?ForumID=1&ThreadID=44#118 and here http://www.DynamicPDF.com/Forums/DisplayThread.csp?ForumID=1&ThreadID=17#36 So, i used the same code given in the answer to this thread, but i couldn't get it to work. I got several compilation errors about missing namespace: - WebClient - MemoryStream So my question is: Is this code still up to date with the v4.x, if yes, what reference i am missing? if not what is the new one please ^^ Just so you know, i am using the evaluation version of DynamicPDF™ Generator v4.0.3 for .NET to see if it fits our needs Pardon my English, it's not my native language thanks in advance

Re: Web reference to background image

Support · Apr 18, 2007
Hello, Yes, you can use the same code with v4.0 also without any problem. You will have to import the System.Net, and System.IO namespaces in order to use the WebClient, and MemoryStream classes. Or you can use their full names with the namespaces like System.Net.WebClient and System.IO.MemoryStream. This will solve your problem. Thanks, ceTe Software Support Team.

Re: Web reference to background image

Forum member · Apr 18, 2007
thanks !!