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




ImageGear24.Web.ImageDataProcessor Assembly > ImageGear.Web.TextSearch Namespace > TextDocument Class : ToJsonFile Method
The path of the file to which to serialize this TextDocument
Serializes this TextDocument to a JSON file
Syntax
'Declaration
 
Public Sub ToJsonFile( _
   ByVal filePath As String _
) 
'Usage
 
Dim instance As TextDocument
Dim filePath As String
 
instance.ToJsonFile(filePath)
public void ToJsonFile( 
   string filePath
)
public: void ToJsonFile( 
   string* filePath
) 
public:
void ToJsonFile( 
   String^ filePath
) 

Parameters

filePath
The path of the file to which to serialize this TextDocument
Exceptions
ExceptionDescription
Possibly by Serializer on invalid data, invalid data contract, or quota exceeded
See Also

Reference

TextDocument Class
TextDocument Members