title property

Sets or retrieves the title of the document currently being printed or print-previewed.

Syntax

HRESULT value = object.put_title(BSTR v);HRESULT value = object.get_title(BSTR* p);

Property values

Type: BSTR

the title of the document currently being printed or print-previewed.

Remarks

The memory returned in p can be freed with SysFreeString.

You can obtain the title from the document object referenced by the __IE_BrowseDocument property of the dialogArguments object or the contentDocument property of the LAYOUTRECT element.