C# Class PdfOutlineCollection, pdfmod

Represents a collection of outlines.
Inheritance: PdfObject, IEnumerable
Afficher le fichier Open project: GNOME/pdfmod Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
PdfOutlineCollection ( PdfDocument, document, PdfOutline parent ) : System

Method Details

Add() public méthode

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

Add() public méthode

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.
Résultat PdfOutline

Add() public méthode

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.
Résultat PdfOutline

Add() public méthode

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.
Résultat PdfOutline

Add() public méthode

public Add ( PdfOutline outline ) : void
outline PdfOutline
Résultat void

GetEnumerator() public méthode

Returns an enumerator that iterates through a collection.
public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

IndexOf() public méthode

Gets the index of the specified outline.
public IndexOf ( PdfOutline item ) : int
item PdfOutline
Résultat int

Insert() public méthode

Adds the specified outline.
public Insert ( PdfOutline outline, int position ) : void
outline PdfOutline
position int
Résultat void

Remove() public méthode

public Remove ( PdfOutline outline ) : void
outline PdfOutline
Résultat void

this() public méthode

Gets the PdfSharp.Pdf.PdfOutline at the specified index.
public this ( int index ) : PdfOutline
index int
Résultat PdfOutline