Nevron Open Vision Documentation
Nevron.Nov.WpfControls Namespace / NDrawingViewControl Class / SaveToStreamAsync Method


In This Topic
    SaveToStreamAsync Method (NDrawingViewControl)
    In This Topic
    Syntax
    'Declaration
     
    
    Public Function SaveToStreamAsync( _
       ByVal stream As System.IO.Stream, _
       ByVal documentFormat As NDrawingFormat, _
       ByVal saveSettings As NDrawingSaveSettings, _
       ByVal reportErrors As System.Boolean _
    ) As NPromise(Of Boolean)
    'Usage
     
    
    Dim instance As NDrawingViewControl
    Dim stream As System.IO.Stream
    Dim documentFormat As NDrawingFormat
    Dim saveSettings As NDrawingSaveSettings
    Dim reportErrors As System.Boolean
    Dim value As NPromise(Of Boolean)
     
    value = instance.SaveToStreamAsync(stream, documentFormat, saveSettings, reportErrors)
    public NPromise<bool> SaveToStreamAsync( 
       System.IO.Stream stream,
       NDrawingFormat documentFormat,
       NDrawingSaveSettings saveSettings,
       System.bool reportErrors
    )

    Parameters

    stream
    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