Rank: Newbie Groups: Member
Joined: 1/10/2011 Posts: 1
|
After installing EO.Pfd(2011) in Visual Studio 2008 my previous written VB-code produces an error: EO.Pdf.PdfDocument.SendToClient missing. Before installing this new EO.pfd the code worked perfectly with on older version of EO.Pdf which I downloaded december 2010.
In the object browser all methods and properties of EO.Pdf.PdfDocument seem to be present but not SendToClient.
Does anyone know how this problem can be solved??
Jasper Jens
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, That function has been removed. Please use the following code instead:
Code: C#
HttpResponse response = HttpContext.Current.Response;
response.Clear();
response.ClearHeaders();
response.ContentType = "application/pdf";
doc.Save(response.OutputStream);
Thanks!
|