Contents

insertChild(_:at:)

Inserts the specified outline object at the specified index.

Declaration

func insertChild(_ child: PDFOutline, at index: Int)

Discussion

To build a PDF outline hierarchy, use this method to add child outline objects. Before you call this method on a PDFOutline object that already has a parent, you should retain the object and call removeFromParent() on it first.

See Also

Related Documentation

Changing an Outline Hierarchy