New to Telerik UI for WinForms? Download free 30-day trial

Save Programmatically

The SaveDocument method allows you to save the currently loaded document in an new file:

Using SaveDocument method.

radPdfViewer1.SaveDocument(@"D:\MyFile.pdf");

radPdfViewer1.SaveDocument("D:\MyFile.pdf")

You can use the GetDocumentAsStream method to retrieve the document stream:

Get the document stream

var stream = radPdfViewer1.GetDocumentAsStream();

Dim stream = radPdfViewer1.GetDocumentAsStream()

Save from the PdfViewerNavigator

The PdfViewerNavigator has a Save As button that can be used for saving the document as well.

WinForms RadPdfViewer PdfViewerNavigator Save Option

In this article