←Select platform

EditCost Property

Summary

Cost of an empty edit operation in terms of edit characters.

Syntax
C#
C++/CLI
Python
public short EditCost {get; set;} 
public:  
   property short EditCost 
   { 
      short get() 
      void set(short value) 
   } 
EditCost # get and set (DocumentCompareOptions) 

Property Value

An integer reflecting the empty edit cost. The default value is 4.

Remarks

The smaller the value, the more granular the inspection, and the more likely the letters of a word from one version gets sandwiched with the letters of a word from the other version. Larger values result in the comparison showing longer passages from each version.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Compare Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.