THotPDF.MoveLoadedAnnotation Method

Moves the specified annotation in the loaded PDF from a source page to a target page, enabling cross-page annotation migration

Declaration

procedure MoveLoadedAnnotation(FromPageIndex, AnnotationIndex, ToPageIndex: Integer);

Unit

HPDFDoc

Parameters

NamePurpose
FromPageIndexZero-based index of the page where the annotation is currently located
AnnotationIndexZero-based index of the annotation in the source page's annotation list
ToPageIndexThe zero-based index of the target page the annotation is moving to

Usage notes

Related APIs