MoveOutlineBefore

书签大纲

描述

将一个大纲项移动到另一大纲项的正前方,该大纲及其所有子节点会一并移动

语法

Delphi

Function TPDFlib.MoveOutlineBefore(OutlineID, SiblingID: Integer): Integer;

ActiveX

Function PDFlib::MoveOutlineBefore(OutlineID As Long, SiblingID As Long) As Long

DLL

int DLMoveOutlineBefore(int InstanceID, int OutlineID, int SiblingID);

参数

OutlineIDNewOutline 函数返回的大纲 ID。或者,使用 GetOutlineID 函数获取有效的大纲 ID
SiblingID大纲将移至具有此 ID 的大纲之前的位置

返回值

0未移动大纲,OutlineID 或 SiblingID 参数无效或两者值相同
1已成功移动书签