Table of Contents

Class CadMTextFindOptions

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

How the MTEXT editor's Find and Replace dialog matches words, as AutoCAD 2021's has it: Match case, Whole words only, Use wildcards, Match diacritics and Match half/full width forms. With none set the search ignores capitals, finds words inside longer ones, takes every character as itself, treats a letter and the same letter with an accent as one, and a full-width letter and its ordinary form as one.

public sealed class CadMTextFindOptions
Inheritance
CadMTextFindOptions
Inherited Members

Properties

MatchCase

Gets or sets whether capitals must match: "Plate" is not found as "plate".

MatchDiacritics

Gets or sets whether accents must match: "cafe" is not found as "café".

MatchHalfFullWidth

Gets or sets whether half-width and full-width forms must match: "ABC" is not found as "ABC".

UseWildcards

Gets or sets whether the words searched for are a wildcard pattern (* any run, ? one character, # a digit, @ a letter, [AB] one of those, a back quote before a character that character itself), as FIND's: M2? finds M20 and M24.

WholeWords

Gets or sets whether a match must be whole words: "bolt" is found in "a bolt." but not in "bolted".

Methods

Clone()

Makes a copy.