C# Класс PdfOutlineCollection, pdfmod

Represents a collection of outlines.
Наследование: PdfObject, IEnumerable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
PdfOutlineCollection ( PdfDocument, document, PdfOutline parent ) : System

Описание методов

Add() публичный Метод

Adds the specified outline entry.
public Add ( string title, PdfPage destinationPage ) : PdfOutline
title string The outline text.
destinationPage PdfPage The destination page.
Результат PdfOutline

Add() публичный Метод

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.
Результат PdfOutline

Add() публичный Метод

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.
Результат PdfOutline

Add() публичный Метод

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.
Результат PdfOutline

Add() публичный Метод

public Add ( PdfOutline outline ) : void
outline PdfOutline
Результат void

GetEnumerator() публичный Метод

Returns an enumerator that iterates through a collection.
public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

IndexOf() публичный Метод

Gets the index of the specified outline.
public IndexOf ( PdfOutline item ) : int
item PdfOutline
Результат int

Insert() публичный Метод

Adds the specified outline.
public Insert ( PdfOutline outline, int position ) : void
outline PdfOutline
position int
Результат void

Remove() публичный Метод

public Remove ( PdfOutline outline ) : void
outline PdfOutline
Результат void

this() публичный Метод

Gets the PdfSharp.Pdf.PdfOutline at the specified index.
public this ( int index ) : PdfOutline
index int
Результат PdfOutline