Share via


Replacement Object Members

Word Developer Reference

Represents the replace criteria for a find-and-replace operation. The properties and methods of the Replacement object correspond to the options in the Find and Replace dialog box.

Methods

  Name Description
Bb257701.methods(en-us,office.12).gif ClearFormatting Removes text and paragraph formatting from the text specified in a replace operation.

Properties

  Name Description
Bb257701.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257701.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257701.properties(en-us,office.12).gif Font Returns or sets a Font object that represents the character formatting of the specified object. Read/write Font.
Bb257701.properties(en-us,office.12).gif Frame Returns a Frame object that represents the frame formatting for the specified style or find-and-replace operation. Read-only.
Bb257701.properties(en-us,office.12).gif Highlight True if highlight formatting is applied to the replacement text. Read/write Long.
Bb257701.properties(en-us,office.12).gif LanguageID Returns or sets a WdLanguageID constant that represents the language for the specified range. Read/write.
Bb257701.properties(en-us,office.12).gif LanguageIDFarEast Returns or sets an East Asian language for the specified replacement. Read/write WdLanguageID.
Bb257701.properties(en-us,office.12).gif NoProofing True if Microsoft Word replaces text that the spelling and grammar checker ignores. Read/write Long.
Bb257701.properties(en-us,office.12).gif ParagraphFormat Returns or sets a ParagraphFormat object that represents the paragraph settings for the specified replacement operation. Read/write.
Bb257701.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified Replacement object.
Bb257701.properties(en-us,office.12).gif Style Returns or sets the style for the specified object. To set this property, specify the local name of the style, an integer, a WdBuiltinStyle constant, or an object that represents the style. Read/write Variant.
Bb257701.properties(en-us,office.12).gif Text Returns or sets the text to replace. Read/write String.