ImageGear .NET v25.2 - Updated
ImageGear.Web.Services Assembly / ImageGear.Web.TextSearch Namespace / TextDocument Class / ToJsonFile Method
The path of the file to which to serialize this TextDocument




In This Topic
    ToJsonFile Method (TextDocument)
    In This Topic
    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