Share via


Window.SelectedText Property

Visio Automation Reference

Returns the selected text in the Microsoft Office Visio drawing window as a Characters object. Read/write.

Version Information
 Version Added:  Visio 2003

Syntax

expression.SelectedText

expression   A variable that represents a Window object.

Return Value
Characters

Remarks

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.

See Also