CloneOutlineAction
Annotations and hotspot links, Outlines
Description
Calling this function will clone the action dictionary of the specified outline. This is useful when an outline and an annotation share the same action dictionary and the actions must be set individually
Syntax
Delphi
Function TPDFlib.CloneOutlineAction(OutlineID: Integer): Integer;
ActiveX
Function PDFlib::CloneOutlineAction(OutlineID As Long) As Long
DLL
int DLCloneOutlineAction(int InstanceID, int OutlineID);
Parameters
| OutlineID | The ID of the outline as returned by the NewOutline function. Alternatively, use the GetOutlineID function to get a valid outline ID |
|---|
Return values
Returns 1 when the action dictionary has been cloned. Returns 0 when OutlineID does not identify an outline in the selected document.