PdfViewerControl.OpenDocument(String) Method
Opens a PDF document.
Namespace: DevExpress.Xpf.PdfViewer
Assembly: DevExpress.Xpf.PdfViewer.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.PdfViewer, DevExpress.Wpf.PdfViewer
Declaration
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
filePath | String | *null* | A string specifying the path to the PDF document. |
Remarks
If the PdfViewerControl.DetachStreamOnLoadComplete property is set to false (default mode) the PDF Viewer locks a file until it is opened in the PDF Viewer. If you want the PDF Viewer does not lock the file, set the PdfViewerControl.DetachStreamOnLoadComplete property totrue.
See Also