'Declaration
Function OpenFileAsync( _ Optional ByVal selectedFormat As NDocumentFormatBase, _ Optional ByVal availableFormats() As NDocumentFormatBase, _ Optional ByVal reportErrors As System.Boolean, _ Optional ByVal askToSaveChanges As System.Boolean _ ) As NPromise(Of Boolean)
'Usage
Dim instance As INDocumentView Dim selectedFormat As NDocumentFormatBase Dim availableFormats() As NDocumentFormatBase Dim reportErrors As System.Boolean Dim askToSaveChanges As System.Boolean Dim value As NPromise(Of Boolean) value = instance.OpenFileAsync(selectedFormat, availableFormats, reportErrors, askToSaveChanges)
NPromise<bool> OpenFileAsync( NDocumentFormatBase selectedFormat, NDocumentFormatBase[] availableFormats, System.bool reportErrors, System.bool askToSaveChanges )
Parameters
- selectedFormat
- availableFormats
- reportErrors
- askToSaveChanges