OcrManagerGetValidOcrFileTypes Method |
Namespace: Law.EdaIntegration.Ocr
public static List<string> GetValidOcrFileTypes()
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"); //Get the list of valid OCR file types List<string> ocrFileTypeIds = LexisNexis.EdaIntegration.OcrManager.GetValidOcrFileTypes(); // Set the AnalysisOcrFileTypes list edaCase.OCR.Properties.AnalysisOcrFileTypes = ocrFileTypeIds; // Save the changes to the case edaCase.OCR.UpdateProperties(); } }