Hi Mehmet,
Thanks for your inquriy. If you want to send PDF to browser then please check following code snippet. It will help you to accomplish the task.
// load PDF file<o:p></o:p>
Document doc = new Document("input.pdf");
MemoryStream stream
= new MemoryStream();
// Save PDF file to
Stream
doc.Save(stream);
Response.Clear();
//Specify the document
type.
Response.ContentType = "application/pdf";
Response.AddHeader("content-disposition", "inline; filename=input.pdf");
byte[] bytes = stream.GetBuffer();
Response.BinaryWrite(bytes);
//System.IO.File.Delete(SaveLocation);
Response.Flush();
Response.Close();
Response.End();
Please feel free to contact us for any further assistance.
Best Regards,