This is a migrated thread and some comments may be shown as answers.

Clear the document

1 Answer 65 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
danparker276
Top achievements
Rank 2
danparker276 asked on 18 Jun 2012, 04:42 PM
How do I clear a document that has been loaded?

            pdfViewer.DataContext = null;
            pdfViewer.DocumentSource = null;
            pdfViewer.Document = null;

doesn't work.

1 Answer, 1 is accepted

Sort by
0
Kammen
Telerik team
answered on 21 Jun 2012, 10:20 AM
Hi Dan,

Setting the Document property to null should clear the document. However, there seems to be a bug.
We will investigate the problem and will try to fix it for the next LIB (Latest internal build) that should be released next week. 

Regards,
Kammen
the Telerik team

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

Tags
PDFViewer
Asked by
danparker276
Top achievements
Rank 2
Answers by
Kammen
Telerik team
Share this question
or