GetBaseURL

文件屬性、註解與熱點連結

描述

傳回文件中所有 URL 連結的 Base URL

例如 Base URL 設為 "http://www.example.com/",URL 連結目的地設為 "index.html",連結就會指向 "http://www.example.com/index.html"

要在目前頁面加入 URL 連結,請用 AddLinkToWeb 函式。

語法

Delphi

Function TPDFlib.GetBaseURL: WideString;

ActiveX

Function PDFlib::GetBaseURL() As String

DLL

const wchar_t * DLGetBaseURL(int InstanceID);