Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NDocumentFormatRegistry<TDocumentFormat> Class / GetFromStream Method


In This Topic
    GetFromStream Method
    In This Topic
    Gets the document format from the specified stream.
    Syntax
    'Declaration
     
    
    Public Function GetFromStream( _
       ByVal stream As System.IO.Stream, _
       ByVal extension As System.String _
    ) As TDocumentFormat
    'Usage
     
    
    Dim instance As NDocumentFormatRegistry(Of TDocumentFormat)
    Dim stream As System.IO.Stream
    Dim extension As System.String
    Dim value As TDocumentFormat
     
    value = instance.GetFromStream(stream, extension)
    public TDocumentFormat GetFromStream( 
       System.IO.Stream stream,
       System.string extension
    )

    Parameters

    stream
    extension
    Requirements

    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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), Windows Server 2003 SP2

    See Also