cairo_pdf_surface_add_outline.Rd
Add an item to the document outline hierarchy with the name utf8 that links to the location specified by link_attribs. Link attributes have the same keys and values as the [Link Tag][link], excluding the "rect" attribute. The item will be a child of the item with id parent_id. Use %CAIRO_PDF_OUTLINE_ROOT as the parent id of top level items.
cairo_pdf_surface_add_outline(surface, parent_id, utf8, link_attribs, flags)
surface | [ |
---|---|
parent_id | [ |
utf8 | [ |
link_attribs | [ |
flags | [ |
[int
]
Return value: the id for the added item.
Since: 1.16
C function prototype: int cairo_pdf_surface_add_outline (cairo_surface_t *surface, int parent_id, const char *utf8, const char *link_attribs, cairo_pdf_outline_flags_t flags)