Click here for NewsObjects Overview
SelectedText Property (Story Control)
Windows - Visual C++


Description
The SelectedText property returns the text selected in the story.

SelectedText property is read-only.

Syntax
BSTR bstrSelectedText = GetSelectedText ();

The GetSelectedText syntax has these parts:

Part

Description

bstrSelectedText

BSTR value set to the selected text in a story.

Remarks
Selected text is the text the user either double clicks or click and drag over the word(s) in a story resulting in text highlighting.

Back to: Story Properties