Byte array of PDF file want to display on the web page
Hi i have byte array of PDF file Which i want to display on the page. can some help me
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Guest UserRank #258 · 9.8K pointsPosted Jul 14, 2014, 5:01 AM EDT
- You can convert byte array to PDF , refer below blog
http://www.c-sharpcorner.com/UploadFile/1a81c5/convert-file-to-byte-array-and-byte-array-to-files/public FileResult DisplayPDF() { return File("/Temp.pdf", "application/pdf"); }