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

Creates an instance of HaruOutline object.

Parameters

parent

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

title

the caption of the outline object.

encoder

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

Returns

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