Find Interface

Definition

Represents the criteria for a find operation.

public interface class Find
[System.Runtime.InteropServices.Guid("000209B0-0000-0000-C000-000000000046")]
public interface Find
type Find = interface
Public Interface Find
Attributes

Remarks

The properties and methods of the Find object correspond to the options in the Find and Replace dialog box.

Use the Find property to return a Find object.

If you've gotten to the Find object from the Selection object, the selection is changed when text matching the find criteria is found.

If you've gotten to the Find object from the Range object, the selection isn't changed when text matching the find criteria is found, but the Range object is redefined.

Properties

Application

Returns a Application object that represents the Microsoft Word application.

CorrectHangulEndings

Determines if Microsoft Word automatically corrects Hangul endings when replacing Hangul text.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Font

Returns or sets a Font object that represents the character formatting of the specified object.

Format

Determine if formatting is included in the find operation.

Forward

Determines if the find operation searches forward through the document.

Found

Determines if the search for the specified object has produced a match.

Frame

Returns a Frame object that represents the frame formatting for the specified style or find-and-replace operation.

HanjaPhoneticHangul

Returns or sets a Boolean that represents whether to locate phonetic Hangul and hanja characters in a Korean langauge find operation. Read/write.

Highlight

Determines if highlight formatting is included in the find criteria.

IgnorePunct

Returns or sets a Boolean that represents whether a find operation should ignore punctuation in found text. Read/write.

IgnoreSpace

Returns or sets a Boolean that represents whether a find operation should ignore extra white space in found text. Read/write.

LanguageID

Returns or sets the language for the specified object.

LanguageIDFarEast

Returns or sets an East Asian language for the specified object.

LanguageIDOther

Returns or sets the language for the specified object.

MatchAlefHamza

Determines if find operations match text with matching alef hamzas in an Arabic language document.

MatchAllWordForms

Determines if all forms of the text to find are found by the find operation (for instance, if the text to find is "sit," "sat" and "sitting" are found as well).

MatchByte

Determines if Microsoft Word distinguishes between full-width and half-width letters or characters during a search.

MatchCase

Determines if the find operation is case-sensitive.

MatchControl

Determines if find operations match text with matching bidirectional control characters in a right-to-left language document.

MatchDiacritics

Determines if find operations match text with matching diacritics in a right-to-left language document.

MatchFuzzy

Determines if Microsoft Word uses the nonspecific search options for Japanese text during a search.

MatchKashida

Determines if find operations match text with matching kashidas in an Arabic language document.

MatchPhrase

True ignores all white space and control characters between words. Read/write.

MatchPrefix

True to match words beginning with the search string. Read/write.

MatchSoundsLike

Determines if words that sound similar to the text to find are returned by the find operation.

MatchSuffix

True to match words ending with the search string. Read/write.

MatchWholeWord

Determines if the find operation locates only entire words and not text that's part of a larger word.

MatchWildcards

Determines if the text to find contains wildcards.

NoProofing

Determines if Microsoft Word finds or replaces text that the spelling and grammar checker ignores.

ParagraphFormat

Returns or sets a ParagraphFormat object that represents the paragraph settings for the specified range, selection, find or replacement operation, or style.

Parent

Returns an object that represents the parent object of the specified object.

Replacement

Returns a Replacement object that contains the criteria for a replace operation.

Style

Returns or sets the style for the specified object.

Text

Returns or sets the text to find or replace in the specified range or selection.

Wrap

Returns or sets what happens if the search begins at a point other than the beginning of the document and the end of the document is reached (or vice versa if Forward is set to False) or if the search text isn't found in the specified selection or range.

Methods

ClearAllFuzzyOptions()

Clears all nonspecific search options associated with Japanese text.

ClearFormatting()

Removes text and paragraph formatting from a selection or from the formatting specified in a find or replace operation.

ClearHitHighlight()

Removes the highlighting for all text located in a hit highlighting find operation, and returns a Boolean that represents whether the operation was successful.

Execute(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Runs the specified find operation.

Execute2007(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Runs the specified find operation. Returns True if the find operation is successful.

ExecuteOld(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Reserved for internal use.

HitHighlight(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Highlights all found matches and returns a Boolean that represents whether matches were found.

SetAllFuzzyOptions()

Activates all nonspecific search options associated with Japanese text.

Applies to