Property

Method

Event

 

 

SelectedTextValue

Gets the selected part of the current document in text format.

Syntax

    [get] HRESULT SelectedTextValue(
    BSTR* pVal
    );

Parameters

[get] pVal

[out, retval] Prints the selected part of the current document in text format.

Return Values

'0' (always)

Sample Codes

VBScript

dim object
set object = document.editForm
edit = object.wec.SelectedTextValue

See Also

Value, HeadValue, BodyValue, TextValue, MIMEValue, SelectedValue, InsertValue