Task Object Members
Word Developer Reference |
Represents a single task running on the system. The Task object is a member of the Tasks collection. The Tasks collection includes all the applications that are currently running on the system.
Methods
Name | Description | |
---|---|---|
Activate | Activates the Task object. | |
Close | Closes the specified task. | |
Move | Positions a task window. | |
Resize | Sizes the specified task window. | |
SendWindowMessage | Sends a Windows message and its associated parameters to the specified task. |
Properties
Name | Description | |
---|---|---|
Application | Returns an Application object that represents the Microsoft Word application. | |
Creator | Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long. | |
Height | Returns or sets the height of the specified task window. Read/write Long. | |
Left | Returns or sets a Long that represents the horizontal position of the specified task, measured in points. Read/write. | |
Name | Returns the name of the specified object. Read-only String. | |
Parent | Returns an Object that represents the parent object of the specified Task object. | |
Top | Returns or sets the vertical position, in points, of the specified window. Read/write Long. | |
Visible | True if the specified object is visible. Read/write Boolean. | |
Width | Returns or sets the width of the specified Task object, in points. Read/write Long. | |
WindowState | Returns or sets the state of the specified document window or task window. Read/write WdWindowState. |