Click or drag to resize

OcrPropertiesQueueForOcrDuringAnalysis Property

Indicates whether documents will be automatically queued for OCR during document analysis.

Namespace:  Law.EdaIntegration.Ocr
Assembly:  Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.3
Syntax
C#
public bool QueueForOcrDuringAnalysis { get; set; }

Property Value

Type: Boolean
Remarks
Use AnalysisOcrFileTypes to specify which file types will be OCR'd when this property is enabled.
Examples
This example demonstrates how to set and retrieve the QueueForOcrDuringAnalysis value.
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 QueueForOcrDuringAnalysis value
        edaCase.OCR.Properties.QueueForOcrDuringAnalysis = true;

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

        // Get the value
        Console.WriteLine("QueueForOcrDuringAnalysis: {0}", edaCase.OCR.Properties.QueueForOcrDuringAnalysis);
    }
}
/*
This example produces the following results:

QueueForOcrDuringAnalysis: True
 */
See Also