Click or drag to resize

INearDuplicatePropertiesNearDupeEnabled Property

Determines whether near-duplicate analysis is enabled for the case.

Namespace:  EdaIntegrationContract.NearDuplicate
Assembly:  EdaIntegration.Contract (in EdaIntegration.Contract.dll) Version: 1.0
Syntax
C#
bool NearDupeEnabled { get; set; }

Property Value

Type: Boolean
Remarks
When near-duplicate analysis is enabled for a case, the near-duplicate processing will automatically start if the system detects that near-duplicate analysis has never run on the case or if there are changes to the case's current data since the last time the analysis ran. Examples of changes that could cause near-duplicate analysis to be run include the import of additional documents, deletion of case documents, and changes to the Comparison Threshold or Footer Exclusions settings.
Examples
This example demonstrates how to set and retrieve the NearDupeEnabled property.
C#
using Law.EdaIntegration;

class Sample
{
    static void Main()
    {
        EdaIntegration edaIntegration = EdaIntegration.ConnectToExplore();
        Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");

        // Set the NearDupeEnabled value
        edaCase.NearDuplicates.Properties.NearDupeEnabled = true;

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

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

NearDupeEnabled: True
 */
See Also