Click or drag to resize

IOcrManagerUpdateProperties Method

Saves the OCR properties to the case.

Namespace:  EdaIntegrationContract.OCR
Assembly:  EdaIntegration.Contract (in EdaIntegration.Contract.dll) Version: 1.0
Syntax
C#
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 EdaIntegrationContract;
using EdaIntegrationContract.Case;
using EdaIntegrationContract.OCR;

class Sample
{
    public static void Main()
    {
        var edaIntegration = new EdaIntegration().ConnectToExplore();
        ICase 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