'Declaration Public Overloads Function FileOpen( _ ByVal fileName As String, _ ByVal showErrorMessage As Boolean _ ) As Object
public object FileOpen( string fileName, bool showErrorMessage )
Parameters
- fileName
- The name of the file to open.
- showErrorMessage
- If true, error message is shown if an exception occurs, otherwise the exception is rethrown.
Return Value
The opened document or null if operation was cancelled, or if showErrorMessage is true and an error occurred while loading the document.