RemoveDocumentAction

Document properties, actions

Description

Removes the action attached to a document lifecycle trigger and removes an empty Catalog /AA container

Syntax

Delphi

Function TPDFlib.RemoveDocumentAction(Trigger: TPDFlibDocumentActionTrigger): Integer;

Parameters

TriggerLifecycle trigger whose action is removed: datWillClose, datWillSave, datDidSave, datWillPrint or datDidPrint

Return values

0No action was present
1The action was removed

See also

SetDocumentAction, GetDocumentActionInfo