Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeTextSearchOptions

OfficeIMO

Namespace
OfficeIMO
Assembly
OfficeIMO.Core
Source revision
e163ccb36643 with working tree changes

Comparison settings shared by the document Find and ReplaceAll operations in Word, PowerPoint and PDF.

Inheritance

  • object
  • OfficeTextSearchOptions

Remarks

The defaults are the same in every format: matching is ordinal and case-insensitive, and a match may start or end inside a word. Each format applies these settings to its own text model; see the format's Find and ReplaceAll documentation for the scope a single match can span.

Constructors

public OfficeTextSearchOptions() #

Properties

public bool MatchCase { get; set; } #

Uses ordinal case-sensitive matching when true. The default, false, matches ordinally ignoring case.

public bool WholeWords { get; set; } #

Requires a match to start and end at a word boundary when true. A word character is a letter, digit, combining mark or underscore. The default is false.