+PDF Viewer allows you to unload the PDF document with the [Unload(Boolean)](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_PdfViewer_PdfViewerControl_Unload_System_Boolean_) method of the [PdfViewerControl](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html) and [PdfDocumentView](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfDocumentView.html) classes.This method includes an optional Boolean parameter to control the disposal of the loaded document.When the parameter is set to true, the method fully disposes of the loaded document, releasing all associated memory and resources. By default, the parameter is set to false, which unloads the document without disposing of it completely, allowing it to be reused if needed.The following code sample illustrates the same.
0 commit comments