Compartir a través de


url property

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

Syntax

HRESULT value = object.put_url(BSTR v);HRESULT value = object.get_url(BSTR* p);

Property values

Type: BSTR

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

Remarks

The memory returned in p can be freed with SysFreeString.

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