Table of Contents

Method Add

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

Add(PdfOutline)

Adds the specified outline.

public void Add(PdfOutline outline)

Parameters

outline PdfOutline

Add(string, PdfPage, bool, PdfOutlineStyle, XColor)

Adds the specified outline entry.

public PdfOutline Add(string title, PdfPage destinationPage, bool opened, PdfOutlineStyle style, XColor textColor)

Parameters

title string

The outline text.

destinationPage PdfPage

The destination page.

opened bool

Specifies whether the node is displayed expanded (opened) or collapsed.

style PdfOutlineStyle

The font style used to draw the outline text.

textColor XColor

The color used to draw the outline text.

Returns

PdfOutline

Add(string, PdfPage, bool, PdfOutlineStyle)

Adds the specified outline entry.

public PdfOutline Add(string title, PdfPage destinationPage, bool opened, PdfOutlineStyle style)

Parameters

title string

The outline text.

destinationPage PdfPage

The destination page.

opened bool

Specifies whether the node is displayed expanded (opened) or collapsed.

style PdfOutlineStyle

The font style used to draw the outline text.

Returns

PdfOutline

Add(string, PdfPage, bool)

Adds the specified outline entry.

public PdfOutline Add(string title, PdfPage destinationPage, bool opened)

Parameters

title string

The outline text.

destinationPage PdfPage

The destination page.

opened bool

Specifies whether the node is displayed expanded (opened) or collapsed.

Returns

PdfOutline

Add(string, PdfPage)

Creates a PdfOutline and adds it into the outline collection.

public PdfOutline Add(string title, PdfPage destinationPage)

Parameters

title string
destinationPage PdfPage

Returns

PdfOutline