Subdocument Object Members
Word Developer Reference |
Represents a subdocument within a document or range. The Subdocument object is a member of the Subdocuments collection. The Subdocuments collection includes all the subdocuments in the a range or document.
Methods
Name | Description | |
---|---|---|
Delete | Deletes the specified subdocument. | |
Open | Opens the specified subdocument. Returns a Document object that represents the opened subdocument. | |
Split | Divides an existing subdocument into two subdocuments at the same level in master document view or outline view. |
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. | |
HasFile | True if the specified subdocument has been saved to a file. Read-only Boolean. | |
Level | Returns the heading level used to create the subdocument. Read-only Long. | |
Locked | True if a subdocument in a master document is locked. Read/write Boolean. | |
Name | Returns the name of the specified object. Read-only String. | |
Parent | Returns an Object that represents the parent object of the specified Subdocument object. | |
Path | Returns the disk or Web path to the specified subdocument. Read-only String. | |
Range | Returns a Range object that represents the portion of a document that's contained within the subdocument. |