SetBaseURLA

Document properties, Annotations and hotspot links

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetBaseURL and string arguments are interpreted using the current SetAnsiMode code page

Sets 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 DLSetBaseURLA(InstanceID: Integer; NewBaseURL: PAnsiChar): Integer;

DLL

int DLSetBaseURLA(int InstanceID, const char * NewBaseURL);

Parameters

NewBaseURLThe base URL to use for all URL link annotations in the document.