Xceed Words for .NET v5.0 Documentation
Xceed.Words.NET Assembly / Xceed.Words.NET Namespace / DocX Class / Create Method / Create(Stream,DocumentTypes) Method
The Stream to create the document from.


In This Topic
    Create(Stream,DocumentTypes) Method
    In This Topic
    Creates a DocX Document using a Stream.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal stream As Stream, _
       Optional ByVal documentType As DocumentTypes _
    ) As DocX
    'Usage
     
    Dim stream As Stream
    Dim documentType As DocumentTypes
    Dim value As DocX
     
    value = DocX.Create(stream, documentType)
    public static DocX Create( 
       Stream stream,
       DocumentTypes documentType
    )

    Parameters

    stream
    The Stream to create the document from.
    documentType

    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