| INearDuplicatePropertiesNearDupeComparisonThreshold Property |
Gets or sets the Near-Duplicate Comparison Threshold for the case.
Namespace:
EdaIntegrationContract.NearDuplicate
Assembly:
EdaIntegration.Contract (in EdaIntegration.Contract.dll) Version: 1.0
Syntax int NearDupeComparisonThreshold { get; set; }
Property Value
Type:
Int32Exceptions Exception | Condition |
---|
EdaApiException | Thrown if the value is not between 60 and 99. |
Remarks
Determines the minimum percentage of similarity to be considered when comparing the similarity between case files
during near-duplicate analysis.
The valid range for this setting is from 60 to 99.
Examples
This example demonstrates how to set and retrieve the NearDupeComparisonThreshold.
using Law.EdaIntegration;
class Sample
{
static void Main()
{
EdaIntegration edaIntegration = EdaIntegration.ConnectToExplore();
Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");
edaCase.NearDuplicates.Properties.NearDupeComparisonThreshold = 85;
edaCase.NearDuplicates.UpdateProperties();
Console.WriteLine("NearDupeComparisonThreshold: {0}", edaCase.NearDuplicates.Properties.NearDupeComparisonThreshold);
}
}
See Also