Click or drag to resize

OcrManagerUpdateProperties Method

Saves the OCR properties to the case.

Namespace:  Law.EdaIntegration.Ocr
Assembly:  Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.3
Syntax
C#
public void UpdateProperties()
Remarks
Modifications to the properties are not saved to the case until UpdateProperties is called.
Examples
The following example demonstrates updating the properties for a case.
C#
using Law.EdaIntegration;
using Law.EdaIntegration.Case;
using Law.EdaIntegration.Ocr;

class Sample
{
    public static void Main()
    {
        string connectionString = @"Data Source=localhost;Initial Catalog=EDA_Management;Integrated Security=False;User ID=myUserId;Password=myPassword";
        EdaIntegration edaIntegration = new EdaIntegration();
        edaIntegration.InitializeEnvironment(connectionString);

        Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");

        // Set the MaxOcrAgents value
        edaCase.OCR.Properties.MaxOcrAgents = 4;

        // Save the changes to the case
        edaCase.OCR.UpdateProperties();
    }
}
See Also