C# Class PdfOutlineCollection, pdfmod

Represents a collection of outlines.
Inheritance: PdfObject, IEnumerable
Mostrar archivo Open project: GNOME/pdfmod Class Usage Examples

Public Methods

Method Description
Add ( string title, PdfPage destinationPage ) : PdfOutline

Adds the specified outline entry.

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

Adds the specified outline entry.

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

Adds the specified outline entry.

Add ( string title, PdfPage destinationPage, bool opened, PdfOutlineStyle style, PdfSharp.Drawing.XColor textColor ) : PdfOutline

Adds the specified outline entry.

Add ( PdfOutline outline ) : void
GetEnumerator ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

IndexOf ( PdfOutline item ) : int

Gets the index of the specified outline.

Insert ( PdfOutline outline, int position ) : void

Adds the specified outline.

Remove ( PdfOutline outline ) : void
this ( int index ) : PdfOutline

Gets the PdfSharp.Pdf.PdfOutline at the specified index.

Private Methods

Method Description
PdfOutlineCollection ( PdfDocument, document, PdfOutline parent ) : System

Method Details

Add() public method

Adds the specified outline entry.
public Add ( string title, PdfPage destinationPage ) : PdfOutline
title string The outline text.
destinationPage PdfPage The destination page.
return PdfOutline

Add() public method

Adds the specified outline entry.
public Add ( string title, PdfPage destinationPage, bool opened ) : PdfOutline
title string The outline text.
destinationPage PdfPage The destination page.
opened bool Specifies whether the node is displayed expanded (opened) or collapsed.
return PdfOutline

Add() public method

Adds the specified outline entry.
public Add ( string title, PdfPage destinationPage, bool opened, PdfOutlineStyle style ) : PdfOutline
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.
return PdfOutline

Add() public method

Adds the specified outline entry.
public Add ( string title, PdfPage destinationPage, bool opened, PdfOutlineStyle style, PdfSharp.Drawing.XColor textColor ) : PdfOutline
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 PdfSharp.Drawing.XColor The color used to draw the outline text.
return PdfOutline

Add() public method

public Add ( PdfOutline outline ) : void
outline PdfOutline
return void

GetEnumerator() public method

Returns an enumerator that iterates through a collection.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

IndexOf() public method

Gets the index of the specified outline.
public IndexOf ( PdfOutline item ) : int
item PdfOutline
return int

Insert() public method

Adds the specified outline.
public Insert ( PdfOutline outline, int position ) : void
outline PdfOutline
position int
return void

Remove() public method

public Remove ( PdfOutline outline ) : void
outline PdfOutline
return void

this() public method

Gets the PdfSharp.Pdf.PdfOutline at the specified index.
public this ( int index ) : PdfOutline
index int
return PdfOutline