Chapter 2 -- 102
Programmer’s Guide
TextSelection Object
Properties Methods
BackColor Copy
Font Cut
ForeColor Paste
Value Select
IsEmpty
"
""
" TextSelection.BackColor
Retrieves or sets back color of the selected text if any.
Access Read/Write.
Type VT_I4orLong
.
"
""
" TextSelection.Font
Retrieves or sets font of the select text if any.
Access Read/Write.
Type VT_DISPATCH or StdFont
.
"
""
" TextSelection.ForeColor
Retrieves or sets f ore color of the selected text if any.
Access Read/Write.
Type VT_I4orLong
.
"
""
" TextSelection.IsEmpty
Tests if the selected text exists.
Access Read/Write.
Type VT_BOOL or Boolean
.
Object
Properties