Initializes a new instance of RegexParameters. This is a copy constructor.
public RegexParameters(
RegexParameters r
)
Public Sub New(ByVal r As RegexParameters)
MyBase.New
public:
RegexParameters(RegexParameters^ r)
r
RegexParameters to copy from.
Regex parameters cannot act on their own. When they are made, they need to be added to the RegexParameter list in the matching RegexInspectorElement.
Adding a regex parameter to find one or more capital letters, a space, then one or more capital letters.
using Leadtools;
using Leadtools.Annotations.Rendering;
using Leadtools.Document.Unstructured;
using Leadtools.Document.Analytics;
public void DocumentUnstructuredRegexParametersExample()
{
var r1 = new RegexInspectorElement()
{
Id = "r1",
IncludeWholeWord = true,
IncludeWholeLine = false
};
r1.RegexParameters.Add(new RegexParameters()
{
Pattern = @"[A-Z]{1,}\s[A-Z]{1,}",
PatternIsOEM = false,
IgnoreSpaces = false,
IgnoreCase = false,
ApproximateRegexMode = ApproximateRegexMode.Disabled,
UseLettersToNumbersMapping = false,
AllowSubWordsMatching = true,
MinimumLength = 1,
MaximumCost = 0
});
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document