Skip to main content
A newer version of this page is available. .

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.v19.2.Core.dll

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