NewDestination

注释和热点链接, 文档管理

说明

本页介绍 PDFlibPas 中属于“注释和热点链接, 文档管理”主题的 NewDestination。API 名称、参数、类名、文件名和字面量保持原样,以便和 Delphi 库及 DLL 入口点完全对应。

调用函数前请查看语法、参数和返回值。代码块保留原始形式,便于示例直接复制使用。

语法

Delphi

Function TPDFlib.NewDestination(DestPage, Zoom, DestType: Integer; Left, Top, Right, Bottom: Double): Integer;

ActiveX

Function PDFlib::NewDestination(DestPage As Long, Zoom As Long, DestType As Long, Left As Double, Top As Double, Right As Double, Bottom As Double) As Long

DLL

int DLNewDestination(int InstanceID, int DestPage, int Zoom, int DestType, double Left, double Top, double Right, double Bottom);

参数

DestPageDestPage 标识当前 PDF 文档中的页面或页面引用。
ZoomZoomNewDestination 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。
DestTypeDestTypeNewDestination 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。
LeftLeft 定义当前页面单位下的坐标、尺寸或度量值。
TopTop 定义当前页面单位下的坐标、尺寸或度量值。
RightRight 定义当前页面单位下的坐标、尺寸或度量值。
BottomBottom 定义当前页面单位下的坐标、尺寸或度量值。

返回值

0此值说明 NewDestination 的调用结果。通常非零值表示成功,0 表示操作未完成。
Non-zero此值说明 NewDestination 的调用结果。通常非零值表示成功,0 表示操作未完成。