MoveAnnotationZOrder

註解、文件編輯

描述

把註解移到所選頁面 Annots 陣列的另一個以 1 起算位置

語法

Function TPDFlib.MoveAnnotationZOrder(Index, NewZOrder: Integer): Integer;

參數

IndexCurrent 1-based annotation index
NewZOrder目標位置(1 起算),值越大 Z 順序越高

傳回值

兩個位置都有效時為 1,否則 0

備註

此操作原地搬移既有的間接參照,不複製註解字典或外觀串流移動成功後,新舊位置之間的索引會改變

另見

HitTestAnnotation, GetAnnotationHitsJSON