Xceed Words for .NET v5.0 Documentation
Xceed.Words.NET Assembly / Xceed.Words.NET Namespace / DocX Class / Load Method / Load(String) Method
The fully qualified or relative filename.


In This Topic
    Load(String) Method
    In This Topic
    Loads a document into a DocX object using a fully qualified or relative filename.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Load( _
       ByVal filename As String _
    ) As DocX
    'Usage
     
    Dim filename As String
    Dim value As DocX
     
    value = DocX.Load(filename)
    public static DocX Load( 
       string filename
    )

    Parameters

    filename
    The fully qualified or relative filename.

    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