Doc.createOutline

Creates an instance of Outline object.

class Doc
Outline
createOutline
(
string title
,
Outline parent = null
,
Encoder encoder = null
)

Parameters

parent Outline

the instance of a Outline object which comes to the parent of the created outline object. If null, the outline is created as a root outline.

title string

the caption of the outline object.

encoder Encoder

the instance of a Encoding object applied to the title. If null, PDFDocEncoding is used.

Return Value

Type: Outline

when createOutline() succeeds, it returns a instance of Outline object. Otherwise, it returns null and error-handler is invoked.

Meta