
Chapter 2 -- 95
Reference Guide
Texts Collection
Properties
Methods
Application
Add
Count
Item (Default)
Parent
"
"
"
"
Texts.Application
This property returns the Application object that represents the
root object of the hierarchy.
Access
Read-Only.
Type
VT_DISPATCH or Application object.
"
"
"
"
Texts.Count
Returns the number of items in the specified collection.
Access
Read-Only.
Type
VT_I2 or Integer.
"
"
"
"
Texts.Parent
Returns the parent object of the specified object.
Access
Read-Only.
Type
VT_DISPATCH.
"
"
"
"
Texts.Add
VTS_DISPATCH or Text
Add
(
strTextName
).
Adds a new Text object to the collection.
Return value
: Returns a Text object.
Parameters
:
strTextName
Optional VT_BSTR or String. The name of the
object to add.
Object
properties
Object
Methods