After you download the latest version of RasterEdge.DocImageSDK, then how to implement the same effect with the online demo? Here, you can do it according to the following steps.
In download package, go to EdgePDF ASP.NET PDF Editor demo project folder "/DemoProjects/EdgePDF Demo Project/"
Copy all contents in the above folder to the location, where you need run the demo project in IIS. For example: C:\\Sites\EdgePDF\.
Copy corresponding DLL (x86 or x64) in the download package to the "Bin" folder of the demo project.
After adding relative dlls, configure the Web.config :
If your IIS server .NET framework is 4.0 or higher, please use the Web.config.
If your IIS server .NET framework is 3.5 or earlier version, please copy the content in the Web(for .net3.5 or earlier version).config to Web.config.
After above steps, you can deploy your demo web application to IIS server.
Open Internet Information Services Manager;
Right-click "Sites" and select "Add Web Site";
According to your situation, set the "Site name", and set the "Physical path" to the place where you store EdgePDF demo project. Last, set the "Port" that monitors the application.
Click ok to complete deploy your project;
Grant user "IIS_IUSRS" full control permission to folder "{Demo project}/RasterEdge_Cache", where EdgePDF will generate cache files.
Run the web application
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"