_Global Members

Include Protected Members
Include Inherited Members

Contains top-level properties and methods.

The _Global type exposes the following members.

Methods

  Name Description
Public method BuildKeyCode Returns a unique number for the specified key combination.
Public method CentimetersToPoints Converts a measurement from centimeters to points (1 cm = 28.35 points).
Public method ChangeFileOpenDirectory Sets the folder in which Microsoft Word searches for documents.
Public method CheckSpelling Checks a string for spelling errors.
Public method CleanString Removes nonprinting characters (character codes 1 – 29) and special Microsoft Word characters from the specified string or changes them to spaces (character code 32).
Public method DDEExecute Sends a command or series of commands to an application through the specified dynamic data exchange (DDE) channel.
Public method DDEInitiate Opens a dynamic data exchange (DDE) channel to another application, and returns the channel number.
Public method DDEPoke Uses an open dynamic data exchange (DDE) channel to send data to an application.
Public method DDERequest Uses an open dynamic data exchange (DDE) channel to request information from the receiving application, and returns the information as a string.
Public method DDETerminate Closes the specified dynamic data exchange (DDE) channel to another application.
Public method DDETerminateAll Closes all dynamic data exchange (DDE) channels opened by Microsoft Word.
Public method GetSpellingSuggestions Returns a SpellingSuggestions collection that represents the words suggested as spelling replacements for a given word.
Public method Help Displays on-line Help information.
Public method InchesToPoints Converts a measurement from inches to points (1 inch = 72 points).
Public method KeyString Returns the key combination string for the specified keys (for example, CTRL+SHIFT+A).
Public method LinesToPoints Converts a measurement from lines to points (1 line = 12 points).
Public method MillimetersToPoints Converts a measurement from millimeters to points (1 mm = 2.85 points).
Public method NewWindow Opens a new window with the same document as the specified window.
Public method PicasToPoints Converts a measurement from picas to points (1 pica = 12 points).
Public method PixelsToPoints Converts a measurement from pixels to points.
Public method PointsToCentimeters Converts a measurement from points to centimeters (1 centimeter = 28.35 points).
Public method PointsToInches Converts a measurement from points to inches (1 inch = 72 points).
Public method PointsToLines Converts a measurement from points to lines (1 line = 12 points).
Public method PointsToMillimeters Converts a measurement from points to millimeters (1 millimeter = 2.835 points).
Public method PointsToPicas Converts a measurement from points to picas (1 pica = 12 points).
Public method PointsToPixels Converts a measurement from points to pixels.
Public method Repeat Repeats the most recent editing action one or more times.

Top

Properties

  Name Description
Public property ActiveDocument Returns a Document object that represents the active document (the document with the focus). If there are no documents open, an error occurs.
Public property ActivePrinter Returns or sets the name of the active printer.
Public property ActiveProtectedViewWindow Gets a ProtectedViewWindow object that represents the active protected view window (the protected view window with the focus).
Public property ActiveWindow Returns a Window object that represents the active window (the window with the focus).
Public property AddIns Returns a AddIns collection that represents all available add-ins, regardless of whether they're currently loaded.
Public property AnswerWizard Returns a AnswerWizard object that contains the files used by the online Help search engine.
Public property Application Returns a _Application object that represents the Microsoft Word application.
Public property Assistant Returns a Assistant object that represents the Microsoft Office Assistant.
Public property 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.
Public property AutoCorrect Returns a AutoCorrect object that contains the current AutoCorrect options, entries, and exceptions.
Public property AutoCorrectEmail Returns a AutoCorrect object that represents automatic corrections made to e-mail messages.
Public property CaptionLabels Returns a CaptionLabels collection that represents all the available caption labels.
Public property CommandBars Returns a CommandBars collection that represents the menu bar and all the toolbars in Microsoft Word.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property CustomDictionaries Returns a Dictionaries object that represents the collection of active custom dictionaries. Active custom dictionaries are marked with a check in the Custom Dictionaries dialog box.
Public property 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.
Public property Dialogs Returns a Dialogs collection that represents all the built-in dialog boxes in Microsoft Word.
Public property Documents Returns a Documents collection that represents all the open documents.
Public property FileConverters Returns a FileConverters collection that represents all the file converters available to Microsoft Word.
Public property FindKey Returns a KeyBinding object that represents the specified key combination.
Public property FontNames Returns a FontNames object that includes the names of all the available fonts.
Public property HangulHanjaDictionaries Returns a HangulHanjaConversionDictionaries collection that represents all the active custom conversion dictionaries.
Public property IsObjectValid Determines if the specified variable that references an object is valid.
Public property IsSandboxed Gets whether the application window is a protected view window.
Public property KeyBindings Returns a KeyBindings collection that represents customized key assignments, which include a key code, a key category, and a command.
Public property KeysBoundTo Returns a KeysBoundTo object that represents all the key combinations assigned to the specified item.
Public property LandscapeFontNames Returns a FontNames object that includes the names of all the available landscape fonts.
Public property Languages Returns a Languages collection that represents the proofing languages listed in the Language dialog box.
Public property LanguageSettings Returns a LanguageSettings object, which contains information about the language settings in Microsoft Word.
Public property ListGalleries Returns a ListGalleries collection that represents the three list template galleries: Bulleted, Numbered, and Outline Numbered.
Public property MacroContainer Returns a Template or Document object that represents the template or document in which the module that contains the running procedure is stored.
Public property Name Returns or sets the name of the specified object.
Public property NormalTemplate Returns a Template object that represents the Normal template.
Public property Options Returns an Options object that represents application settings in Microsoft Word.
Public property Parent Returns an object that represents the parent object of the specified object.
Public property PortraitFontNames Returns a FontNames object that includes the names of all the available portrait fonts.
Public property PrintPreview Determines if print preview is the current view.
Public property ProtectedViewWindows Gets a ProtectedViewWindows object that represents the open protected view windows.
Public property RecentFiles Returns a RecentFiles collection that represents the most recently accessed files.
Public property Selection Returns the Selection object that represents a selected range or the insertion point.
Public property ShowVisualBasicEditor Determines if the Visual Basic Editor window is visible.
Public property StatusBar Displays the specified text in the status bar.
Public property SynonymInfo Returns a SynonymInfo object that contains information from the thesaurus on synonyms, antonyms, or related words and expressions for the specified word or phrase.
Public property System Returns a System object, which can be used to return system-related information and perform system-related tasks.
Public property Tasks Returns a Tasks collection that represents all the applications that are running.
Public property Templates Returns a Templates collection that represents all the available templates — global templates as well as those attached to open documents.
Public property VBE Returns a VBE object that represents the Visual Basic Editor.
Public property Windows Returns a Windows collection that represents all document windows. The collection corresponds to the window names that appear at the bottom of the Window menu.
Public property 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.

Top

See Also

Reference

_Global Interface

Microsoft.Office.Interop.Word Namespace