Class TextSearchOptions
Options that control text search and replace behavior on FormattedText and AbstractSlide.
Inherited Members
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public class TextSearchOptions
Constructors
TextSearchOptions()
Initializes a new instance with default values (case-insensitive, partial-word match, search in shapes).
Declaration
public TextSearchOptions()
Properties
Comparison
Gets the StringComparison that corresponds to the current MatchCase setting.
Declaration
public StringComparison Comparison { get; }
Property Value
| Type | Description |
|---|---|
| StringComparison |
MatchCase
Gets or sets whether the search is case-sensitive.
When false (default), matching is case-insensitive.
Declaration
public bool MatchCase { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
SearchInShapes
Gets or sets whether to search inside shapes (text boxes, tables, etc.).
When true (default), all shape text is searched.
Declaration
public bool SearchInShapes { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
WholeWord
Gets or sets whether the search matches whole words only.
When true, partial word matches are excluded.
Declaration
public bool WholeWord { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |