-
PDF file opening and saving to disk with browse
How to implement two functions in AS3 (not AIR!, Really need without AIR):
i have:
var path: String = "catalog/filename.pdf";
1) I want to open it, but in the default system application (not in webbrowser with urlrequest)
2) I want to save it to my disk with a browse dialog.
I can not find it 3 days. Please help
-
You can't save anything to disc because it's a security issue. The os and browser are setting and enforcing the rules. Flash can't save anything that html can't save other than "flash cookies."
If Ford, Google, etc. open their pdf's in the browser, why do you think you can do more? ; >
-
I have ever tried to open PDF files with the help of following code:
Code:
using System.IO;
using System.Drawing.Printing;
using Yiigo.Imaging;
using Yiigo.Imaging.Processing;
using Yiigo.Imaging.PdfRead;
// View a PDF
PdfReader pdf = new PdfReader();
RegisteredReaders.Readers.Add(pdf);
myWorkapceViewer.Open("1.pdf");
Or you can also google it and select a fine PDF reader whose way of processing is simple and fast to help you with the related work. Remember to check its free trial package first if possible. I hope you success. Good luck.
Best regards,
Arron
-
If you want to open and and saving embedded PDF document, you need to use a pdf document reader that allows for fast speed and high-quality PDF document opening, viewing, rendering and saving. As for the specifc methods for these operations are variable, I list them on the online tutorial.
-
Stop trying to advertise in this forum. Reading a pdf is easy for a coder.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|