←Select platform

MatchDistance Property

Summary

How far to search for a match.

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

Property Value

An integer corresponding to the distance the pattern can be from the expected location. Default value is 1000.

Remarks

A value of 0 indicates an exact location. The higher the value the farther away the pattern can be in order to be considered a match. If the DocumentComparer finds a match this many characters away from the expected location, this will add 1.0 to the overall score of the match where 0.0 indicates a perfect match.

Requirements

Target Platforms

Help Version 22.0.2023.5.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.