GetBaseURL

Document properties, Annotations and hotspot links

Description

Returns the Base URL for all URL links in the document.

For example, if the Base URL was set to "http://www.example.com/" and a URL link destination was set to "index.html" then the link will point to "http://www.example.com/index.html".

Use the AddLinkToWeb function to add a URL link to the current page.

Syntax

Delphi

function TPDFlib.GetBaseURL: WideString;

ActiveX

Function PDFlib::GetBaseURL As String

DLL

wchar_t * DLGetBaseURL(int InstanceID);