Xceed Words for .NET v5.0 Documentation
Xceed.Words.NET Assembly / Xceed.Words.NET Namespace / DocX Class / Load Method / Load(Stream) Method
The Stream to load the document from.


In This Topic
    Load(Stream) Method
    In This Topic
    Loads a document into a DocX object using a Stream.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Load( _
       ByVal stream As Stream _
    ) As DocX
    'Usage
     
    Dim stream As Stream
    Dim value As DocX
     
    value = DocX.Load(stream)
    public static DocX Load( 
       Stream stream
    )

    Parameters

    stream
    The Stream to load the document from.

    Return Value

    A DocX object which represents the document.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also