Share via


SelectedText Property [Visio 2003 SDK Documentation]

Returns the selected text in the Microsoft Office Visio 2003 drawing window as a Characters object.

objRet = object.SelectedText

objRet     The selected text, in the form of a Characters object.

object     Required. An expression that returns a Window object.

Version added

2003

The SelectedText property applies only to drawing windows. If you try to access the SelectedText property for other types of window, Visio may return an error.

Applies to | Window object

See Also | Characters object