Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / INDocumentView Interface / SaveToFileAsync Method / SaveToFileAsync(String,NDocumentFormatBase,NDocumentSaveSettings,Boolean) Method


In This Topic
    SaveToFileAsync(String,NDocumentFormatBase,NDocumentSaveSettings,Boolean) Method
    In This Topic
    Saves the document to the given file.
    Syntax
    'Declaration
     
    
    Overloads Function SaveToFileAsync( _
       ByVal fileName As System.String, _
       Optional ByVal documentFormat As NDocumentFormatBase, _
       Optional ByVal saveSettings As NDocumentSaveSettings, _
       Optional ByVal reportErrors As System.Boolean _
    ) As NPromise(Of Boolean)
    'Usage
     
    
    Dim instance As INDocumentView
    Dim fileName As System.String
    Dim documentFormat As NDocumentFormatBase
    Dim saveSettings As NDocumentSaveSettings
    Dim reportErrors As System.Boolean
    Dim value As NPromise(Of Boolean)
     
    value = instance.SaveToFileAsync(fileName, documentFormat, saveSettings, reportErrors)

    Parameters

    fileName
    documentFormat
    saveSettings
    reportErrors
    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