Method Cairo.PDFSurface()->add_outline()
- Method
add_outline
int
add_outline(int
parent_id
,string
name
,string
link_attribs
,int
flags
)- Description
Add an item to the document outline hierarchy with the given
name
that links to the location specified bylink_attribs
. Link attributes have the same keys and values as the Link Tag, excluding the "rect" attribute. The item will be a child of the item with idparent_id
. Use PDF_OUTLINE_ROOT as the parent id of top level items.- Parameter
parent_id
the id of the parent item or PDF_OUTLINE_ROOT if this is a top level item.
- Parameter
name
the name of the outline
- Parameter
link_attribs
the link attributes specifying where this outline links to
- Parameter
flags
outline item flags