編輯

共用方式為


AutoCorrect Interface

Definition

Represents the AutoCorrect functionality in Microsoft Word.

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

Remarks

Use the AutoCorrect property to return the AutoCorrect object.

The Entries property returns the AutoCorrectEntries object that represents the AutoCorrect entries in the AutoCorrect dialog box (Tools menu).

Properties

Application

Returns a Application object that represents the creator of the specified object.

CorrectCapsLock

Returns or sets a value that indicates if Microsoft Word automatically corrects instances in which you use the CAPS LOCK key inadvertently as you type.

CorrectDays

Returns or sets a value that indicates if Microsoft Word automatically capitalizes the first letter of days of the week.

CorrectHangulAndAlphabet

Returns or sets a value that indicates if Microsoft Word automatically applies the correct font to Latin words typed in the middle of Hangul text or vice versa.

CorrectInitialCaps

Returns or sets a value that indicates if Microsoft Word automatically makes the second letter lowercase if the first two letters of a word are typed in uppercase. For example, "WOrd" is corrected to "Word."

CorrectKeyboardSetting

Returns or sets a value that indicates if Microsoft Word automatically transposes words to their native alphabet if you type text in a language other than the current keyboard language.

CorrectSentenceCaps

Returns or sets a value that indicates if Microsoft Word automatically capitalizes the first letter in each sentence.

CorrectTableCells

Returns or sets a value that indicates whether to automatically capitalize the first letter of table cells.

Creator

Returns a value that indicates the application in which the specified object was created.

DisplayAutoCorrectOptions

Returns or sets a value that indicates whether to display the AutoCorrect Options button.

Entries

Returns a value that indicates a AutoCorrectEntries collection that represents the current list of AutoCorrect entries.

FirstLetterAutoAdd

Returns or sets a value that indicates if Microsoft Word automatically adds abbreviations to the list of AutoCorrect First Letter exceptions.

FirstLetterExceptions

Returns a FirstLetterExceptions collection that represents the list of abbreviations after which Microsoft Word won't automatically capitalize the next letter.

HangulAndAlphabetAutoAdd

Returns or sets a value that indicates whether to automatically add words to the list of Hangul and alphabet AutoCorrect exceptions on the Korean tab in the AutoCorrect Exceptions dialog box.

HangulAndAlphabetExceptions

Returns a HangulAndAlphabetExceptions collection that represents the list of Hangul and alphabet AutoCorrect exceptions.

OtherCorrectionsAutoAdd

Returns or sets a value that indicates whether to add words to the list of AutoCorrect exceptions on the Other Corrections tab in the AutoCorrect Exceptions dialog box.

OtherCorrectionsExceptions

Returns a OtherCorrectionsExceptions collection that represents the list of words that Microsoft Word won't correct automatically.

Parent

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

ReplaceText

Returns or sets a value that indicates whether to automatically replace specified text with entries from the AutoCorrect list.

ReplaceTextFromSpellingChecker

Returns or sets a value that indicates whether to automatically replace misspelled text with suggestions from the spelling checker as the user types.

TwoInitialCapsAutoAdd

Returns or sets a value that indicates whether to automatically add words to the list of AutoCorrect Initial Caps exceptions.

TwoInitialCapsExceptions

Returns a TwoInitialCapsExceptions collection that represents the list of terms containing mixed capitalization that Microsoft Word won't correct automatically.

Applies to