Instance Property


Returns the destination associated with the outline.


var destination: PDFDestination? { get set }


The root outline serves only as a container for the outlines it owns; it does not have a destination. Note that a PDFOutline object can have either a destination or an action, not both.

This method may return NULL if the outline has an associated action instead of a destination. Note that if the associated action is a PDFActionGoTo, this method returns the destination from the PDFActionGoTo object. However, it is better to use the action method for this purpose.

See Also

Managing Actions and Destinations

var action: PDFAction?

Returns the action performed when users click the outline.