Table of Contents

Method CreateOutlineEntry

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

CreateOutlineEntry(Twips, Twips, int, string)

Creates an entry of the document outline at a position on the page.

public static LinkRegion CreateOutlineEntry(Twips x, Twips y, int level, string title)

Parameters

x Twips

Left coordinate in twips.

y Twips

Top coordinate in twips: where following the entry goes.

level int

The entry's level, 0 for the top level; deeper levels nest under the last shallower entry.

title string

The entry's title.

Returns

LinkRegion

A region of kind OutlineEntry, with no area.

Remarks

Target is set to the encoding outline entries carried before LinkRegionKind existed, so that a renderer written against it still finds the entry.

Exceptions

ArgumentNullException

title is null.

ArgumentOutOfRangeException

level is negative.