Instance Method

child(at:)

Returns the child outline object at the specified index.

Declaration

func child(at index: Int) -> PDFOutline?

Discussion

The index is zero-based. This method throws an exception if index is out of range.

See Also

Getting Information About an Outline

var document: PDFDocument?

Returns the document with which the outline is associated.

var numberOfChildren: Int

Returns the number of child outline objects in the outline.

var parent: PDFOutline?

Returns the parent outline object of the outline (returns NULL if called on the root outline object).

var index: Int

Returns the index of the outline.