TPDFlibMergeOutlineEvent

Data Types

Description

TPDFlibMergeOutlineEvent represents the method signature for the event handler invoked during outline (bookmark) tree merges. It enables application code to rename or exclude bookmarks dynamically.

Syntax

Delphi

type TPDFlibMergeOutlineEvent = procedure(Sender: TObject; SourceDocIndex: Integer; var Title: WideString; var Skip: Boolean) of object;

Parameters

SenderL'oggetto TPDFlib che attiva il callback dell'evento
SourceDocIndexThe 1-based index of the source PDF document in the merge queue
TitleUn riferimento alla stringa del titolo del segnalibro; modificare questo valore per riscrivere il nome del segnalibro nella destinazione unita
SkipUn riferimento a un flag booleano; impostare questo parametro su True per scartare questo nodo di struttura e il suo intero sottoalbero dal sommario del documento unito

See also

OnMergeOutline, MergeDocument