Property

Method

Event

 

 

HeadValue

Specifies or gets the HTML head information (<head>~</head>) of the current document.

Syntax

    [get] HRESULT HeadValue(
    BSTR* pVal
    );
    [put] HRESULT HeadValue(
    BSTR newVal
    );

Parameters

[get] pVal

[out, retval] Prints the head information of the current document in HTML format.

[put] newVal

[in] Puts head information into the current document using HTML format.

Return Values

'0' (always)

Sample Codes

VBScript [get]

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

VBScript [put]

dim object
set object = document.editForm
object.wec.HeadValue = "New Head Value"

See Also

Value, BodyValue, TextValue, MIMEValue, SelectedValue, SelectedTextValue, InsertValue