ImageGear .NET v25.2 - Updated
ImageGear.Web.Services Assembly / ImageGear.Web.TextSearch Namespace / TextDocument Class / FromJsonFile Method
The path of the file




In This Topic
    FromJsonFile Method (TextDocument)
    In This Topic
    Returns a TextDocument deserialized from a JSON file
    Syntax
    'Declaration
     
    Public Shared Function FromJsonFile( _
       ByVal filePath As String _
    ) As TextDocument
    'Usage
     
    Dim filePath As String
    Dim value As TextDocument
     
    value = TextDocument.FromJsonFile(filePath)
    public static TextDocument FromJsonFile( 
       string filePath
    )
    public: static TextDocument* FromJsonFile( 
       string* filePath
    ) 
    public:
    static TextDocument^ FromJsonFile( 
       String^ filePath
    ) 

    Parameters

    filePath
    The path of the file

    Return Value

    The deserialized TextDocument or null if deserialization failed
    See Also