add method

void add(
  1. PdfOutline outline
)

This method creates an outline, and attaches it to this one. When the outline is selected, the supplied region is displayed.

Implementation

void add(PdfOutline outline) {
  outline.parent = this;
  outlines.add(outline);
}