Skip to main content

DocumentViewerControl.OpenDocument(String) Method

Loads the document from the specified file and opens it in the viewer.

Namespace: DevExpress.Xpf.DocumentViewer

Assembly: DevExpress.Xpf.DocumentViewer.v24.2.Core.dll

NuGet Package: DevExpress.Wpf.DocumentViewer.Core

Declaration

public virtual void OpenDocument(
    string filePath = null
)

Optional Parameters

Name Type Default Description
filePath String null

A String specifying the full path to a document file.

See Also