SetBaseURL
Document properties, Annotations and hotspot links
Description
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 TPDFlib.SetBaseURL(Const NewBaseURL: WideString): Integer;
ActiveX
Function PDFlib::SetBaseURL(NewBaseURL As String) As Long
DLL
int DLSetBaseURL(int InstanceID, const wchar_t * NewBaseURL);
Parameters
| NewBaseURL | The base URL to use for all URL link annotations in the document. |
|---|