This is a migrated thread and some comments may be shown as answers.
get stream from pdfviewer
2 Answers 63 Views
This is a migrated thread and some comments may be shown as answers.
Mohammad
Top achievements
Rank 1
Mohammad asked on 19 Jun 2012, 04:39 AM
Hi,

I want to save my pdf file in database, so i need to get stream from pdfviewer that show my pdf file. please help me how can i do it ?

2 Answers, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 20 Jun 2012, 12:40 PM
Hello Mohammad,

It is not possible to modify the content of the PDF document in RadPdfViewer, as it is a viewer and has no implementation of content-changing commands/operations. That is why if you want to save the PDF file that is opened in the editor, you just need to write the stream that has been used to create the document in the first place. You can refer to this forum post for a demo of how custom Open and Save commands can be implemented, so as to achieve this behavior.

Kind regards,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Mohammad
Top achievements
Rank 1
answered on 23 Jun 2012, 04:17 AM
Thancks for your good support, my problem is solved.
Asked by
Mohammad
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Mohammad
Top achievements
Rank 1
Share this question
or