Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / INDocumentView Interface / NewDocumentAsync Method


In This Topic
    NewDocumentAsync Method (INDocumentView)
    In This Topic
    Loads a new document in the view.
    Syntax
    'Declaration
     
    
    Function NewDocumentAsync( _
       Optional ByVal reportErrors As System.Boolean, _
       Optional ByVal askToSaveChanges As System.Boolean _
    ) As NPromise(Of Boolean)
    'Usage
     
    
    Dim instance As INDocumentView
    Dim reportErrors As System.Boolean
    Dim askToSaveChanges As System.Boolean
    Dim value As NPromise(Of Boolean)
     
    value = instance.NewDocumentAsync(reportErrors, askToSaveChanges)
    NPromise<bool> NewDocumentAsync( 
       System.bool reportErrors,
       System.bool askToSaveChanges
    )

    Parameters

    reportErrors
    askToSaveChanges
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also