WResult Interface

The output of the capture is exposed thru this interface.

Properties

OLE_COLOR Color
// this property is set to the integer value of the captured text color;

int CharIndex
// this property is set to the integer position of the clicked char in the captured word. This value holds “-1” if no character was clicked;

BSTR LeftContext
// this property is set to the string value of the left context of the captured word;

BSTR RightContext
// this property is set to the string value of the right context of the captured word;

long Font
// this property is set to the integer value of the captured text font style;

long HighlightBottom

long HighlightLeft

long HighlightRight

long HighlightTop
 
// these last four properties hold the position in screen coordinates of the highlight rectangle;

long Locale
// this property is set to the integer value of the local id where the capture is performed;

BSTR Text
// this property is set to the string value of the captured text;

BSTR Paragraph
// this property is set to the string value of the entire paragraph that contains the captured text.
Comments