GetBaseURL

分类:文档属性、注释和热点链接

描述

返回文档中所有 URL 链接的基准 URL

例如,若基础 URL 设为 "http://www.example.com/",URL 链接目标设为 "index.html",则链接指向 "http://www.example.com/index.html"

使用 AddLinkToWeb 函数向当前页面添加 URL 链接

语法

Delphi

Function TPDFlib.GetBaseURL: WideString;

ActiveX

Function PDFlib::GetBaseURL() As String

DLL

const wchar_t * DLGetBaseURL(int InstanceID);