THotPDF.CopyLoadedAnnotationsFromDocument

THotPDF

 

Top  Previous  Next

Copies loaded annotations from a source document to the current document across specified page index lists, with optional appearance preservation and filtering callbacks

 

Delphi syntax:

function CopyLoadedAnnotationsFromDocument( SourceDoc: THotPDF; const SourcePageIndices, DestPageIndices: array of Integer; Options: THPDFAnnotCopyOptions= [acoPreserveAppearance, acoRemapIRT]; FilterCallback: THPDFAnnotCopyFilterEvent= nil ): Integer;

 

Description

Copies loaded annotations from a source document to the current document across specified page index lists, with optional appearance preservation and filtering callbacks

Ensure both the source and target documents are loaded and initialised before calling

Use the FilterCallback parameter to conditionally exclude specific annotations

Options like acoPreserveAppearance preserve the visual representation of annotations during copying

 

See also: THotPDF