Previous topicNext topic
Help > Methods >
NavigateToFile

NavigateToFile Method

Load a file on disk and display it in the OrdoWebView2 browser.

Syntax

object. NavigateToFile (FilePathAndname As String)

The NavigateToFile method syntax has these parts:

Element Description
Object The  object placeholder represents an OrdoWebView2 control
FilePathAndName String, The path and name of the file to display