A demo Adobe PDF document in folder C:\temp\pdf-1.pdf
How to load PDF document into EdgePDF ASP.NET PDF Editor
To run the following demo code, please do the following steps:
Create and add the follow sample documents to folder "c:\temp\"
pdf-1.pdf
tiff-1.tif
word-1.docx
excel-1.xlsx
powerpoint-1.pptx
jpeg-1.jpg
text-1.txt
Make sure IIS application (User: IIS_IUSRS) has the read and write rights to the folder "temp“, and all files inside.
The following guide will help to setup a demo project, which allows you to open a file (pdf, word, excel, powerpoint, tiff, jpeg, text)
located under your server file system "C:/temp/", through url:
http://localhost:9090/?yourtarget=/1.pdf.
Next one will allow you to define a new command in EdgePDF toolbar. And you can save modified pdf file to original file location "C:/temp/1.pdf"
Here are the details:
For ASP.NET Core web app, open file UserCommandProcessMiddleware.cs from /DemoProjects/EdgePDF for ASP.NET Core/, go to method "FileProcess()"
For ASP.NET (.net framework) project, In /RasterEdge_Resource_Files/UserCommandProcessHandler.ashx method "FileProcess()"