Edytuj

Udostępnij za pośrednictwem


Application Interface

Definition

Represents the Word application.

public interface class Application : Microsoft::Office::Interop::Word::_Application, Microsoft::Office::Interop::Word::ApplicationEvents4_Event
[System.Runtime.InteropServices.Guid("00020970-0000-0000-C000-000000000046")]
public interface Application : Microsoft.Office.Interop.Word._Application, Microsoft.Office.Interop.Word.ApplicationEvents4_Event
type Application = interface
    interface _Application
    interface ApplicationEvents4_Event
Public Interface Application
Implements _Application, ApplicationEvents4_Event
Derived
Attributes
Implements

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _Application. For information about the event members of the COM object, see ApplicationEvents4_Event.

Properties

ActiveDocument

Returns a Document object that represents the active document.

(Inherited from _Application)
ActiveEncryptionSession

Returns a Integer that represents the encryption session associated with the active document. Read-only.

(Inherited from _Application)
ActivePrinter

Returns or sets the name of the active printer.

(Inherited from _Application)
ActiveProtectedViewWindow

Gets a ProtectedViewWindow object that represents the active protected view window.

(Inherited from _Application)
ActiveWindow

Returns a Window object that represents the active window.

(Inherited from _Application)
AddIns

Returns a AddIns collection that represents all available add-ins, regardless of whether they're currently loaded.

(Inherited from _Application)
AnswerWizard

Returns a AnswerWizard object that contains the files used by the online Help search engine.

(Inherited from _Application)
Application

Returns a Application object that represents the Microsoft Word application.

(Inherited from _Application)
ArbitraryXMLSupportAvailable

Returns a Boolean that represents whether Microsoft Word accepts custom XML schemas. Returns True if Word accepts custom XML schemas, or False if schemas are not accepted.

(Inherited from _Application)
Assistance

Returns an Microsoft.Office.Core.IAssistance object that represents the Microsoft Office Help Viewer. Read-only.

(Inherited from _Application)
Assistant

Returns a Assistant object that represents the Microsoft Office Assistant.

(Inherited from _Application)
AutoCaptions

Returns a AutoCaptions collection that represents the captions that are automatically added when items such as tables and pictures are inserted into a document.

(Inherited from _Application)
AutoCorrect

Returns a AutoCorrect object that contains the current AutoCorrect options, entries, and exceptions.

(Inherited from _Application)
AutoCorrectEmail

Returns a AutoCorrect object that represents automatic corrections made to e-mail messages.

(Inherited from _Application)
AutomationSecurity

Returns or sets a MsoAutomationSecurity constant that represents the security setting Microsoft Word uses when programmatically opening files.

(Inherited from _Application)
BackgroundPrintingStatus

Returns the number of print jobs in the background printing queue.

(Inherited from _Application)
BackgroundSavingStatus

Returns the number of files queued up to be saved in the background.

(Inherited from _Application)
Bibliography

Returns a Bibliography object that represents the bibliography references sources stored in Microsoft Office Word. Read-only.

(Inherited from _Application)
BrowseExtraFileTypes

Set this property to "text/html" to allow hyperlinked HTML files to be opened in Microsoft Word (instead of the default Internet browser).

(Inherited from _Application)
Browser

Returns a Browser object that represents the Select Browse Object tool on the vertical scroll bar.

(Inherited from _Application)
Build

Returns the version and build number of the Word application.

(Inherited from _Application)
BuildFeatureCrew

Reserved for internal use.

(Inherited from _Application)
BuildFull

Reserved for internal use.

(Inherited from _Application)
CapsLock

Determines if the CAPS LOCK key is turned on. Returns True if the CAPS LOCK key is turned on, and False if it is not.

(Inherited from _Application)
Caption

Returns or sets the caption text for the specified document or application window.

(Inherited from _Application)
CaptionLabels

Returns a CaptionLabels collection that represents all the available caption labels.

(Inherited from _Application)
ChartDataPointTrack

Returns or sets a Boolean (bool in C#) that specifies whether charts use cell-reference data-point tracking. Read-write.

(Inherited from _Application)
CheckLanguage

Determines if Microsoft Word automatically detects the language you are using as you type. Returns True if Microsoft Word automatically detects the language you are using as you type, and False if it does not automatically detect the language.

(Inherited from _Application)
COMAddIns

Returns a reference to the COMAddIns collection that represents all the Component Object Model (COM) add-ins currently loaded in Microsoft Word.

(Inherited from _Application)
CommandBars

Returns a CommandBars collection that represents the menu bar and all the toolbars in Microsoft Word.

(Inherited from _Application)
Creator

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

(Inherited from _Application)
CustomDictionaries

Returns a Dictionaries object that represents the collection of active custom dictionaries. Active custom dictionaries are marked with a check in the Custom Dictionariesdialog box.

(Inherited from _Application)
CustomizationContext

Returns or sets a Template or Document object that represents the template or document in which changes to menu bars, toolbars, and key bindings are stored.

(Inherited from _Application)
DefaultLegalBlackline

Determines if Microsoft Word will compare and merge documents using the Legal blackline option in the Compare and Merge Documents dialog box. Returns True if Word will use the option, and False if not.

(Inherited from _Application)
DefaultSaveFormat

Returns or sets the default format that will appear in the Save as type box in the Save As dialog box (File menu).

(Inherited from _Application)
DefaultTableSeparator

Returns or sets the single character used to separate text into cells when text is converted to a table.

(Inherited from _Application)
Dialogs

Returns a Dialogs collection that represents all the built-in dialog boxes in Microsoft Word.

(Inherited from _Application)
DisplayAlerts

Returns or sets the way certain alerts and messages are handled while a macro is running.

(Inherited from _Application)
DisplayAutoCompleteTips

Determines if Microsoft Word displays tips that suggest text for completing words, dates, or phrases as you type.

(Inherited from _Application)
DisplayDocumentInformationPanel

Returns or sets a Boolean that represents whether the document properties panel is displayed. Read/write.

(Inherited from _Application)
DisplayRecentFiles

Determines if the names of recently used files are displayed on the File menu.

(Inherited from _Application)
DisplayScreenTips

Determines if comments, footnotes, endnotes, and hyperlinks are displayed as tips. Text marked as having comments is highlighted.

(Inherited from _Application)
DisplayScrollBars

Determines if Word displays a scroll bar in at least one document window.

(Inherited from _Application)
DisplayStatusBar

Determines if the status bar is displayed.

(Inherited from _Application)
Documents

Returns a Documents collection that represents all the open documents.

(Inherited from _Application)
DontResetInsertionPointProperties

Returns or sets a Boolean that represents whether Microsoft Office Word maintains the formatting properties of the text at that position of the Insertion Point after running other code. Read/write.

(Inherited from _Application)
Dummy1

Reserved for internal use.

(Inherited from _Application)
EmailOptions

Returns an EmailOptions object that represents the global preferences for e-mail authoring.

(Inherited from _Application)
EmailTemplate

Returns or sets a String that represents the document template to use when sending e-mail messages.

(Inherited from _Application)
EnableCancelKey

Returns or sets the way that Word handles CTRL+BREAK user interruptions.

(Inherited from _Application)
FeatureInstall

Returns or sets how Microsoft Word handles calls to methods and properties that require features not yet installed.

(Inherited from _Application)
FileConverters

Returns a FileConverters collection that represents all the file converters available to Microsoft Word.

(Inherited from _Application)
FileDialog[MsoFileDialogType]

Returns a FileDialog object which represents a single instance of a file dialog box.

(Inherited from _Application)
FileSearch

Returns a FileSearch object that can be used to search for files using either an absolute or relative path.

(Inherited from _Application)
FileValidation

Gets or sets how Word will validate files before opening them.

(Inherited from _Application)
FindKey[Int32, Object]

Returns a KeyBindings object that represents the specified key combination.

(Inherited from _Application)
FocusInMailHeader

Determines if the insertion point is in an e-mail header field.

(Inherited from _Application)
FontNames

Returns a FontNames object that includes the names of all the available fonts.

(Inherited from _Application)
HangulHanjaDictionaries

Returns a HangulHanjaConversionDictionaries collection that represents all the active custom conversion dictionaries.

(Inherited from _Application)
Height

Returns or sets the height of the active document window.

(Inherited from _Application)
International[WdInternationalIndex]

Returns information about the current country/region and international settings.

(Inherited from _Application)
IsObjectValid[Object]

Determines if the specified variable that references an object is valid.

(Inherited from _Application)
IsSandboxed

Gets whether the application window is a protected view window.

(Inherited from _Application)
KeyBindings

Returns a KeyBindings collection that represents customized key assignments, which include a key code, a key category, and a command.

(Inherited from _Application)
KeysBoundTo[WdKeyCategory, String, Object]

Returns a KeysBoundTo object that represents all the key combinations assigned to the specified item.

(Inherited from _Application)
LandscapeFontNames

Returns a FontNames object that includes the names of all the available landscape fonts.

(Inherited from _Application)
Language

Returns an MsoLanguageID constant that represents the language selected for the Microsoft Word user interface.

(Inherited from _Application)
Languages

Returns a Languages collection that represents the proofing languages listed in the Language dialog box.

(Inherited from _Application)
LanguageSettings

Returns a LanguageSettings object, which contains information about the language settings in Microsoft Word.

(Inherited from _Application)
Left

Returns or sets an Integer that represents the horizontal position of the active document (for the Application object) or the specified task or window, measured in points.

(Inherited from _Application)
ListGalleries

Returns a ListGalleries collection that represents the three list template galleries (Bulleted, Numbered, and Outline Numbered).

(Inherited from _Application)
MacroContainer

Returns a Template or Document object that represents the template or document in which the module that contains the running procedure is stored.

(Inherited from _Application)
MailingLabel

Returns a MailingLabel object that represents a mailing label.

(Inherited from _Application)
MailMessage

Returns a MailMessage object that represents the active e-mail message.

(Inherited from _Application)
MailSystem

Returns the mail system (or systems) installed on the host machine.

(Inherited from _Application)
MAPIAvailable

Determines if MAPI is installed. This property returns True if MAPI is installed, and False if not.

(Inherited from _Application)
MathCoprocessorAvailable

Determines if a math coprocessor is installed and available to Microsoft Word. This property returns True if a math coprocessor is installed and available to Microsoft Word, and False if not.

(Inherited from _Application)
MouseAvailable

Determines if there's a mouse available for the system. This property returns True if there's a mouse available for the system, and False if not.

(Inherited from _Application)
Name

Returns or sets the name of the specified object.

(Inherited from _Application)
NormalTemplate

Returns a Template object that represents the Normal template.

(Inherited from _Application)
NumLock

Returns the state of the NUM LOCK key. Returns True if the keys on the numeric keypad insert numbers, and False if the keys move the insertion point.

(Inherited from _Application)
OMathAutoCorrect

Returns the auto correct entries for equations. Read-only.

(Inherited from _Application)
OpenAttachmentsInFullScreen

Returns or sets a Boolean that represents whether Microsoft Office Word opens e-mail attachments in Reading mode. Read/write.

(Inherited from _Application)
Options

Returns an Options object that represents application settings in Microsoft Word.

(Inherited from _Application)
Parent

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

(Inherited from _Application)
Path

Returns the disk or Web path to the specified object.

(Inherited from _Application)
PathSeparator

Returns the character used to separate folder names.

(Inherited from _Application)
PickerDialog

Gets a PickerDialog object that provides the functionality to select people or data in a dialog box.

(Inherited from _Application)
PortraitFontNames

Returns a FontNames object that includes the names of all the available portrait fonts.

(Inherited from _Application)
PrintPreview

Determines if print preview is the current view. This property returns True if print preview is the current view, and False if not.

(Inherited from _Application)
ProtectedViewWindows

Gets a ProtectedViewWindows collection that represents all protected view windows.

(Inherited from _Application)
RecentFiles

Returns a RecentFiles collection that represents the most recently accessed files.

(Inherited from _Application)
RestrictLinkedStyles

Returns or sets a Boolean that represents whether Microsoft Office Word allows linked styles. Read/write.

(Inherited from _Application)
ScreenUpdating

Determines if screen updating is turned on. Returns True if screen updating is turned on, and False if not.

(Inherited from _Application)
Selection

Returns the Selection object that represents a selected range or the insertion point.

(Inherited from _Application)
ShowAnimation

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _Application)
ShowStartupDialog

Determines if the Task Pane will be displayed when starting Microsoft Word.

(Inherited from _Application)
ShowStylePreviews

Returns or sets a Boolean that represents whether Microsoft Office Word shows a preview of the formatting for styles in the Styles dialog box. Read/write.

(Inherited from _Application)
ShowVisualBasicEditor

Determines if the Visual Basic Editor window is visible. This property returns True if the Visual Basic Editor window is visible, and False if not.

(Inherited from _Application)
ShowWindowsInTaskbar

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _Application)
SmartArtColors

Gets a SmartArtColors object that represents the set of color styles that are currently loaded in the application.

(Inherited from _Application)
SmartArtLayouts

Gets a SmartArtLayouts object that represents the set of SmartArt layouts that are currently loaded in the application.

(Inherited from _Application)
SmartArtQuickStyles

Gets a SmartArtQuickStyles object that represents the set of SmartArt styles that are currently loaded in the application.

(Inherited from _Application)
SmartTagRecognizers

Returns a SmartTagRecognizers collection for an application.

(Inherited from _Application)
SmartTagTypes

Returns a SmartTagTypes collection that represents the smart tag types for the smart tag components installed in Microsoft Word.

(Inherited from _Application)
SpecialMode

Determines if Microsoft Word is in a special mode (for example, CopyText mode or MoveText mode).

(Inherited from _Application)
StartupPath

Returns or sets the complete path of the startup folder, excluding the final separator.

(Inherited from _Application)
StatusBar

Displays the specified text in the status bar.

(Inherited from _Application)
SynonymInfo[String, Object]

Returns a SynonymInfo object that contains information from the thesaurus on synonyms, antonyms, or related words and expressions for the specified word or phrase.

(Inherited from _Application)
System

Returns a System object, which can be used to return system-related information and perform system-related tasks.

(Inherited from _Application)
TaskPanes

Returns a TaskPanes object that represents the most commonly performed tasks in Microsoft Word.

(Inherited from _Application)
Tasks

Returns a Tasks collection that represents all the applications that are running.

(Inherited from _Application)
Templates

Returns a Templates collection that represents all the available templates — global templates as well as those attached to open documents.

(Inherited from _Application)
Top

Returns or sets the vertical position of the active document, in points.

(Inherited from _Application)
UndoRecord

Gets an UndoRecord object that provides a custom entry point into the undo stack.

(Inherited from _Application)
UsableHeight

Returns the maximum height (in points) to which you can set the height of a Microsoft Word document window.

(Inherited from _Application)
UsableWidth

Returns the maximum width (in points) to which you can set the width of a Microsoft Word document window.

(Inherited from _Application)
UserAddress

Returns or sets the user's mailing address.

(Inherited from _Application)
UserControl

Determines if the document or application was created or opened by the user.

(Inherited from _Application)
UserInitials

Returns or sets the user's initials, which Microsoft Word uses to construct comment marks.

(Inherited from _Application)
UserName

Returns or sets the user's name, which is used on envelopes and for the Author document property.

(Inherited from _Application)
VBE

Returns a VBE object that represents the Visual Basic Editor.

(Inherited from _Application)
Version

Returns the Microsoft Word version number.

(Inherited from _Application)
Visible

Determines if the specified object is visible. This property returns True if the specified object is visible, and False if not.

(Inherited from _Application)
Width

Returns or sets the width of the specified object, in points.

(Inherited from _Application)
Windows

Returns a Windows collection that represents all document windows.

(Inherited from _Application)
WindowState

Returns or sets the state of the specified document window or task window.

(Inherited from _Application)
WordBasic

Returns an automation object (Word.Basic) that includes methods for all the WordBasic statements and functions available in Microsoft Word version 6.0 and Word for Windows 95.

(Inherited from _Application)
XMLNamespaces

Returns an XMLNamespaces collection that represents the XML schemas in the Schema Library.

(Inherited from _Application)

Methods

Activate()

Activates the specified object.

(Inherited from _Application)
add_DocumentBeforeClose(ApplicationEvents4_DocumentBeforeCloseEventHandler) (Inherited from ApplicationEvents4_Event)
add_DocumentBeforePrint(ApplicationEvents4_DocumentBeforePrintEventHandler) (Inherited from ApplicationEvents4_Event)
add_DocumentBeforeSave(ApplicationEvents4_DocumentBeforeSaveEventHandler) (Inherited from ApplicationEvents4_Event)
add_DocumentChange(ApplicationEvents4_DocumentChangeEventHandler) (Inherited from ApplicationEvents4_Event)
add_DocumentOpen(ApplicationEvents4_DocumentOpenEventHandler) (Inherited from ApplicationEvents4_Event)
add_DocumentSync(ApplicationEvents4_DocumentSyncEventHandler) (Inherited from ApplicationEvents4_Event)
add_EPostageInsert(ApplicationEvents4_EPostageInsertEventHandler) (Inherited from ApplicationEvents4_Event)
add_EPostageInsertEx(ApplicationEvents4_EPostageInsertExEventHandler) (Inherited from ApplicationEvents4_Event)
add_EPostagePropertyDialog(ApplicationEvents4_EPostagePropertyDialogEventHandler) (Inherited from ApplicationEvents4_Event)
add_MailMergeAfterMerge(ApplicationEvents4_MailMergeAfterMergeEventHandler) (Inherited from ApplicationEvents4_Event)
add_MailMergeAfterRecordMerge(ApplicationEvents4_MailMergeAfterRecordMergeEventHandler) (Inherited from ApplicationEvents4_Event)
add_MailMergeBeforeMerge(ApplicationEvents4_MailMergeBeforeMergeEventHandler) (Inherited from ApplicationEvents4_Event)
add_MailMergeBeforeRecordMerge(ApplicationEvents4_MailMergeBeforeRecordMergeEventHandler) (Inherited from ApplicationEvents4_Event)
add_MailMergeDataSourceLoad(ApplicationEvents4_MailMergeDataSourceLoadEventHandler) (Inherited from ApplicationEvents4_Event)
add_MailMergeDataSourceValidate(ApplicationEvents4_MailMergeDataSourceValidateEventHandler) (Inherited from ApplicationEvents4_Event)
add_MailMergeDataSourceValidate2(ApplicationEvents4_MailMergeDataSourceValidate2EventHandler) (Inherited from ApplicationEvents4_Event)
add_MailMergeWizardSendToCustom(ApplicationEvents4_MailMergeWizardSendToCustomEventHandler) (Inherited from ApplicationEvents4_Event)
add_MailMergeWizardStateChange(ApplicationEvents4_MailMergeWizardStateChangeEventHandler) (Inherited from ApplicationEvents4_Event)
add_NewDocument(ApplicationEvents4_NewDocumentEventHandler) (Inherited from ApplicationEvents4_Event)
add_ProtectedViewWindowActivate(ApplicationEvents4_ProtectedViewWindowActivateEventHandler) (Inherited from ApplicationEvents4_Event)
add_ProtectedViewWindowBeforeClose(ApplicationEvents4_ProtectedViewWindowBeforeCloseEventHandler) (Inherited from ApplicationEvents4_Event)
add_ProtectedViewWindowBeforeEdit(ApplicationEvents4_ProtectedViewWindowBeforeEditEventHandler) (Inherited from ApplicationEvents4_Event)
add_ProtectedViewWindowDeactivate(ApplicationEvents4_ProtectedViewWindowDeactivateEventHandler) (Inherited from ApplicationEvents4_Event)
add_ProtectedViewWindowOpen(ApplicationEvents4_ProtectedViewWindowOpenEventHandler) (Inherited from ApplicationEvents4_Event)
add_ProtectedViewWindowSize(ApplicationEvents4_ProtectedViewWindowSizeEventHandler) (Inherited from ApplicationEvents4_Event)
add_Quit(ApplicationEvents4_QuitEventHandler) (Inherited from ApplicationEvents4_Event)
add_Startup(ApplicationEvents4_StartupEventHandler) (Inherited from ApplicationEvents4_Event)
add_WindowActivate(ApplicationEvents4_WindowActivateEventHandler) (Inherited from ApplicationEvents4_Event)
add_WindowBeforeDoubleClick(ApplicationEvents4_WindowBeforeDoubleClickEventHandler) (Inherited from ApplicationEvents4_Event)
add_WindowBeforeRightClick(ApplicationEvents4_WindowBeforeRightClickEventHandler) (Inherited from ApplicationEvents4_Event)
add_WindowDeactivate(ApplicationEvents4_WindowDeactivateEventHandler) (Inherited from ApplicationEvents4_Event)
add_WindowSelectionChange(ApplicationEvents4_WindowSelectionChangeEventHandler) (Inherited from ApplicationEvents4_Event)
add_WindowSize(ApplicationEvents4_WindowSizeEventHandler) (Inherited from ApplicationEvents4_Event)
add_XMLSelectionChange(ApplicationEvents4_XMLSelectionChangeEventHandler) (Inherited from ApplicationEvents4_Event)
add_XMLValidationError(ApplicationEvents4_XMLValidationErrorEventHandler) (Inherited from ApplicationEvents4_Event)
AddAddress(Array, Array)

Adds an entry to the address book.

(Inherited from _Application)
AutomaticChange()

Performs an AutoFormat action when there's a change suggested by the Office Assistant.

(Inherited from _Application)
BuildKeyCode(WdKey, Object, Object, Object)

Returns a unique number for the specified key combination.

(Inherited from _Application)
CentimetersToPoints(Single)

Converts a measurement from centimeters to points (1 cm = 28.35 points).

(Inherited from _Application)
ChangeFileOpenDirectory(String)

Sets the folder in which Microsoft Word searches for documents.

(Inherited from _Application)
CheckGrammar(String)

Checks a string for grammatical errors.

(Inherited from _Application)
CheckSpelling(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Checks a string for spelling errors.

(Inherited from _Application)
CleanString(String)

Removes nonprinting characters (character codes 1 – 29) and special Microsoft Word characters from the specified string or changes them to spaces (character code 32).

(Inherited from _Application)
CompareDocuments(Document, Document, WdCompareDestination, WdGranularity, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, String, Boolean)

Compares two documents and returns a _Document object that represents the document that contains the differences between the two documents, marked using tracked changes.

(Inherited from _Application)
DDEExecute(Int32, String)

Sends a command or series of commands to an application through the specified dynamic data exchange (DDE) channel.

(Inherited from _Application)
DDEInitiate(String, String)

Opens a dynamic data exchange (DDE) channel to another application, and returns the channel number.

(Inherited from _Application)
DDEPoke(Int32, String, String)

Uses an open dynamic data exchange (DDE) channel to send data to an application.

(Inherited from _Application)
DDERequest(Int32, String)

Uses an open dynamic data exchange (DDE) channel to request information from the receiving application, and returns the information as a string.

(Inherited from _Application)
DDETerminate(Int32)

Closes the specified dynamic data exchange (DDE) channel to another application.

(Inherited from _Application)
DDETerminateAll()

Closes all dynamic data exchange (DDE) channels opened by Microsoft Word.

(Inherited from _Application)
DefaultWebOptions()

Returns the DefaultWebOptions object that contains global application-level attributes used by Microsoft Word whenever you save a document as a Web page or open a Web page.

(Inherited from _Application)
DiscussionSupport(Object, Object, Object)

Reserved for internal use.

(Inherited from _Application)
Dummy2()

Reserved for internal use.

(Inherited from _Application)
Dummy4()

Reserved for internal use.

(Inherited from _Application)
GetAddress(Object, Object, Object, Object, Object, Object, Object, Object)

Returns an address from the default address book.

(Inherited from _Application)
GetDefaultTheme(WdDocumentMedium)

Returns a String that represents the name of the default theme plus the theme formatting options Microsoft Word uses for new documents, e-mail messages, or Web pages.

(Inherited from _Application)
GetSpellingSuggestions(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Returns a SpellingSuggestions collection that represents the words suggested as spelling replacements for a given word.

(Inherited from _Application)
GoBack()

Moves the insertion point among the last three locations where editing occurred in the active document.

(Inherited from _Application)
GoForward()

Moves the insertion point forward among the last three locations where editing occurred in the active document.

(Inherited from _Application)
Help(Object)

Displays on-line Help information.

(Inherited from _Application)
HelpTool()

Changes the pointer from an arrow to a question mark, indicating that you'll get context-sensitive Help information about the next command or screen element you click.

(Inherited from _Application)
InchesToPoints(Single)

Converts a measurement from inches to points (1 inch = 72 points).

(Inherited from _Application)
Keyboard(Int32)

Returns or sets the keyboard language and layout settings.

(Inherited from _Application)
KeyboardBidi()

Sets the keyboard language to a right-to-left language and the text entry direction to right-to-left.

(Inherited from _Application)
KeyboardLatin()

Sets the keyboard language to a left-to-right language and the text entry direction to left-to-right.

(Inherited from _Application)
KeyString(Int32, Object)

Returns the key combination string for the specified keys (for example, CTRL+SHIFT+A).

(Inherited from _Application)
LinesToPoints(Single)

Converts a measurement from lines to points (1 line = 12 points).

(Inherited from _Application)
ListCommands(Boolean)

Creates a new document and then inserts a table of Microsoft Word commands along with their associated shortcut keys and menu assignments.

(Inherited from _Application)
LoadMasterList(String)

Loads a bibliography source file.

(Inherited from _Application)
LookupNameProperties(String)

Looks up a name in the global address book list and displays the Properties dialog box, which includes information about the specified name.

(Inherited from _Application)
MergeDocuments(Document, Document, WdCompareDestination, WdGranularity, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, String, String, WdMergeFormatFrom)

Compares two documents and returns a _Document object that represents the document that contains the differences between the two documents, marked using tracked changes.

(Inherited from _Application)
MillimetersToPoints(Single)

Converts a measurement from millimeters to points (1 mm = 2.85 points).

(Inherited from _Application)
MountVolume(String, String, String, Object, Object, Object)

This member is for Macintosh only and should not be used.

(Inherited from _Application)
Move(Int32, Int32)

Positions a task window or the active document window.

(Inherited from _Application)
NewWindow()

Opens a new window with the same document as the specified window.

(Inherited from _Application)
NextLetter()

This member is for Macintosh only and should not be used.

(Inherited from _Application)
OnTime(Object, String, Object)

Starts a background timer that runs a macro at a specified time.

(Inherited from _Application)
OrganizerCopy(String, String, String, WdOrganizerObject)

Copies the specified AutoText entry, toolbar, style, or macro project item from the source document or template to the destination document or template.

(Inherited from _Application)
OrganizerDelete(String, String, WdOrganizerObject)

Deletes the specified style, AutoText entry, toolbar, or macro project item from a document or template.

(Inherited from _Application)
OrganizerRename(String, String, String, WdOrganizerObject)

Renames the specified style, AutoText entry, toolbar, or macro project item in a document or template.

(Inherited from _Application)
PicasToPoints(Single)

Converts a measurement from picas to points (1 pica = 12 points).

(Inherited from _Application)
PixelsToPoints(Single, Object)

Converts a measurement from pixels to points.

(Inherited from _Application)
PointsToCentimeters(Single)

Converts a measurement from points to centimeters (1 centimeter = 28.35 points).

(Inherited from _Application)
PointsToInches(Single)

Converts a measurement from points to inches (1 inch = 72 points).

(Inherited from _Application)
PointsToLines(Single)

Converts a measurement from points to lines (1 line = 12 points).

(Inherited from _Application)
PointsToMillimeters(Single)

Converts a measurement from points to millimeters (1 millimeter = 2.835 points).

(Inherited from _Application)
PointsToPicas(Single)

Converts a measurement from points to picas (1 pica = 12 points).

(Inherited from _Application)
PointsToPixels(Single, Object)

Converts a measurement from points to pixels.

(Inherited from _Application)
PrintOut(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Prints all or part of the specified document.

(Inherited from _Application)
PrintOut2000(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Reserved for internal use.

(Inherited from _Application)
PrintOutOld(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Reserved for internal use.

(Inherited from _Application)
ProductCode()

Returns the Microsoft Word globally unique identifier (GUID) as a String.

(Inherited from _Application)
PutFocusInMailHeader()

Places the insertion point in the To line of the mail header if the document in the active window is an e-mail document.

(Inherited from _Application)
Quit(Object, Object, Object)

Quits Microsoft Word and optionally saves or routes the open documents.

(Inherited from _Application)
remove_DocumentBeforeClose(ApplicationEvents4_DocumentBeforeCloseEventHandler) (Inherited from ApplicationEvents4_Event)
remove_DocumentBeforePrint(ApplicationEvents4_DocumentBeforePrintEventHandler) (Inherited from ApplicationEvents4_Event)
remove_DocumentBeforeSave(ApplicationEvents4_DocumentBeforeSaveEventHandler) (Inherited from ApplicationEvents4_Event)
remove_DocumentChange(ApplicationEvents4_DocumentChangeEventHandler) (Inherited from ApplicationEvents4_Event)
remove_DocumentOpen(ApplicationEvents4_DocumentOpenEventHandler) (Inherited from ApplicationEvents4_Event)
remove_DocumentSync(ApplicationEvents4_DocumentSyncEventHandler) (Inherited from ApplicationEvents4_Event)
remove_EPostageInsert(ApplicationEvents4_EPostageInsertEventHandler) (Inherited from ApplicationEvents4_Event)
remove_EPostageInsertEx(ApplicationEvents4_EPostageInsertExEventHandler) (Inherited from ApplicationEvents4_Event)
remove_EPostagePropertyDialog(ApplicationEvents4_EPostagePropertyDialogEventHandler) (Inherited from ApplicationEvents4_Event)
remove_MailMergeAfterMerge(ApplicationEvents4_MailMergeAfterMergeEventHandler) (Inherited from ApplicationEvents4_Event)
remove_MailMergeAfterRecordMerge(ApplicationEvents4_MailMergeAfterRecordMergeEventHandler) (Inherited from ApplicationEvents4_Event)
remove_MailMergeBeforeMerge(ApplicationEvents4_MailMergeBeforeMergeEventHandler) (Inherited from ApplicationEvents4_Event)
remove_MailMergeBeforeRecordMerge(ApplicationEvents4_MailMergeBeforeRecordMergeEventHandler) (Inherited from ApplicationEvents4_Event)
remove_MailMergeDataSourceLoad(ApplicationEvents4_MailMergeDataSourceLoadEventHandler) (Inherited from ApplicationEvents4_Event)
remove_MailMergeDataSourceValidate(ApplicationEvents4_MailMergeDataSourceValidateEventHandler) (Inherited from ApplicationEvents4_Event)
remove_MailMergeDataSourceValidate2(ApplicationEvents4_MailMergeDataSourceValidate2EventHandler) (Inherited from ApplicationEvents4_Event)
remove_MailMergeWizardSendToCustom(ApplicationEvents4_MailMergeWizardSendToCustomEventHandler) (Inherited from ApplicationEvents4_Event)
remove_MailMergeWizardStateChange(ApplicationEvents4_MailMergeWizardStateChangeEventHandler) (Inherited from ApplicationEvents4_Event)
remove_NewDocument(ApplicationEvents4_NewDocumentEventHandler) (Inherited from ApplicationEvents4_Event)
remove_ProtectedViewWindowActivate(ApplicationEvents4_ProtectedViewWindowActivateEventHandler) (Inherited from ApplicationEvents4_Event)
remove_ProtectedViewWindowBeforeClose(ApplicationEvents4_ProtectedViewWindowBeforeCloseEventHandler) (Inherited from ApplicationEvents4_Event)
remove_ProtectedViewWindowBeforeEdit(ApplicationEvents4_ProtectedViewWindowBeforeEditEventHandler) (Inherited from ApplicationEvents4_Event)
remove_ProtectedViewWindowDeactivate(ApplicationEvents4_ProtectedViewWindowDeactivateEventHandler) (Inherited from ApplicationEvents4_Event)
remove_ProtectedViewWindowOpen(ApplicationEvents4_ProtectedViewWindowOpenEventHandler) (Inherited from ApplicationEvents4_Event)
remove_ProtectedViewWindowSize(ApplicationEvents4_ProtectedViewWindowSizeEventHandler) (Inherited from ApplicationEvents4_Event)
remove_Quit(ApplicationEvents4_QuitEventHandler) (Inherited from ApplicationEvents4_Event)
remove_Startup(ApplicationEvents4_StartupEventHandler) (Inherited from ApplicationEvents4_Event)
remove_WindowActivate(ApplicationEvents4_WindowActivateEventHandler) (Inherited from ApplicationEvents4_Event)
remove_WindowBeforeDoubleClick(ApplicationEvents4_WindowBeforeDoubleClickEventHandler) (Inherited from ApplicationEvents4_Event)
remove_WindowBeforeRightClick(ApplicationEvents4_WindowBeforeRightClickEventHandler) (Inherited from ApplicationEvents4_Event)
remove_WindowDeactivate(ApplicationEvents4_WindowDeactivateEventHandler) (Inherited from ApplicationEvents4_Event)
remove_WindowSelectionChange(ApplicationEvents4_WindowSelectionChangeEventHandler) (Inherited from ApplicationEvents4_Event)
remove_WindowSize(ApplicationEvents4_WindowSizeEventHandler) (Inherited from ApplicationEvents4_Event)
remove_XMLSelectionChange(ApplicationEvents4_XMLSelectionChangeEventHandler) (Inherited from ApplicationEvents4_Event)
remove_XMLValidationError(ApplicationEvents4_XMLValidationErrorEventHandler) (Inherited from ApplicationEvents4_Event)
Repeat(Object)

Repeats the most recent editing action one or more times.

(Inherited from _Application)
ResetIgnoreAll()

Clears the list of words that were previously ignored during a spelling check.

(Inherited from _Application)
Resize(Int32, Int32)

Sizes the Microsoft Word application window or the specified task window.

(Inherited from _Application)
Run(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Runs a Visual Basic macro.

(Inherited from _Application)
RunOld(String)

Reserved for internal use.

(Inherited from _Application)
ScreenRefresh()

Updates the display on the monitor with the current information in the video memory buffer.

(Inherited from _Application)
SendFax()

Starts the Fax Wizard.

(Inherited from _Application)
SetDefaultTheme(String, WdDocumentMedium)

Sets a default theme for Microsoft Word to use with new documents, e-mail messages, or Web pages.

(Inherited from _Application)
ShowClipboard()

Displays the Clipboard task pane.

(Inherited from _Application)
ShowMe()

Displays the Office Assistant or the Help window when there's more information available.

(Inherited from _Application)
SubstituteFont(String, String)

Sets font-mapping options, which are reflected in theFont Substitution dialog box (Compatibility tab, Options dialog box, Tools menu).

(Inherited from _Application)
ThreeWayMerge(Document, Document, Document, Boolean)

Reserved for internal use.

(Inherited from _Application)
ToggleKeyboard()

Switches the keyboard language setting between right-to-left and left-to-right languages.

(Inherited from _Application)

Events

DocumentBeforeClose

Occurs immediately before any open document closes.

(Inherited from ApplicationEvents4_Event)
DocumentBeforePrint

Occurs before any open document is printed.

(Inherited from ApplicationEvents4_Event)
DocumentBeforeSave

Occurs before any open document is saved.

(Inherited from ApplicationEvents4_Event)
DocumentChange

Occurs when a new document is created, when an existing document is opened, or when another document is made the active document.

(Inherited from ApplicationEvents4_Event)
DocumentOpen

Occurs when a document is opened.

(Inherited from ApplicationEvents4_Event)
DocumentSync

Occurs when the local copy of a document that is part of a Document Workspace is synchronized with the copy on the server.

(Inherited from ApplicationEvents4_Event)
EPostageInsert

Occurs when a user inserts electronic postage into a document.

(Inherited from ApplicationEvents4_Event)
EPostageInsertEx

Occurs when a user inserts electronic postage into a document.

(Inherited from ApplicationEvents4_Event)
EPostagePropertyDialog

Occurs when a user clicks the E-postage Properties (Labels and Envelopes dialog box) button or Print Electronic Postage toolbar button.

(Inherited from ApplicationEvents4_Event)
MailMergeAfterMerge

Occurs after all records in a mail merge have merged successfully.

(Inherited from ApplicationEvents4_Event)
MailMergeAfterRecordMerge

Occurs after each record in the data source successfully merges in a mail merge.

(Inherited from ApplicationEvents4_Event)
MailMergeBeforeMerge

Occurs when a merge is executed before any records merge.

(Inherited from ApplicationEvents4_Event)
MailMergeBeforeRecordMerge

Occurs as a merge is executed for the individual records in a merge.

(Inherited from ApplicationEvents4_Event)
MailMergeDataSourceLoad

Occurs when the data source is loaded for a mail merge.

(Inherited from ApplicationEvents4_Event)
MailMergeDataSourceValidate

Occurs when a user performs address verification by clicking Validate in the Mail Merge Recipients dialog box.

(Inherited from ApplicationEvents4_Event)
MailMergeDataSourceValidate2

Occurs when a user validates mail merge recipients by clicking the Validate addresses link button in the Mail Merge Recipients dialog box.

(Inherited from ApplicationEvents4_Event)
MailMergeWizardSendToCustom

Occurs when the custom button is clicked on step six of the Mail Merge Wizard.

(Inherited from ApplicationEvents4_Event)
MailMergeWizardStateChange

Occurs when a user changes from a specified step to a specified step in the Mail Merge Wizard.

(Inherited from ApplicationEvents4_Event)
NewDocument

Occurs when a new document is created.

(Inherited from ApplicationEvents4_Event)
ProtectedViewWindowActivate

Occurs when any protected view window is activated.

(Inherited from ApplicationEvents4_Event)
ProtectedViewWindowBeforeClose

Occurs immediately before a protected view window or a document in a protected view window closes.

(Inherited from ApplicationEvents4_Event)
ProtectedViewWindowBeforeEdit

Occurs immediately before editing is enabled on the document in the specified protected view window.

(Inherited from ApplicationEvents4_Event)
ProtectedViewWindowDeactivate

Occurs when a protected view window is deactivated.

(Inherited from ApplicationEvents4_Event)
ProtectedViewWindowOpen

Occurs when a protected view window is opened.

(Inherited from ApplicationEvents4_Event)
ProtectedViewWindowSize

Occurs when a protected view window is moved or resized.

(Inherited from ApplicationEvents4_Event)
Quit

Occurs when the user quits Word.

(Inherited from ApplicationEvents4_Event)
Startup

Reserved for internal use.

(Inherited from ApplicationEvents4_Event)
WindowActivate

Occurs when any document window is activated.

(Inherited from ApplicationEvents4_Event)
WindowBeforeDoubleClick

Occurs when the editing area of a document window is double-clicked, before the default double-click action.

(Inherited from ApplicationEvents4_Event)
WindowBeforeRightClick

Occurs when the editing area of a document window is right-clicked, before the default right-click action.

(Inherited from ApplicationEvents4_Event)
WindowDeactivate

Occurs when any document window is deactivated.

(Inherited from ApplicationEvents4_Event)
WindowSelectionChange

Occurs when the selection changes in the active document window.

(Inherited from ApplicationEvents4_Event)
WindowSize

Occurs when the application window is resized or moved.

(Inherited from ApplicationEvents4_Event)
XMLSelectionChange

Occurs when the parent XML node of the current selection changes.

(Inherited from ApplicationEvents4_Event)
XMLValidationError

Occurs when there is a validation error in the document.

(Inherited from ApplicationEvents4_Event)

Applies to