ImageGear .NET v24.12 - Updated
FromJsonFile Method (TextDocument)




ImageGear24.Web.Services Assembly > ImageGear.Web.TextSearch Namespace > TextDocument Class : FromJsonFile Method
The path of the file
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

Reference

TextDocument Class
TextDocument Members