• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class OutlineCollection

An ordered collection of bookmark (outline) items. The top-level instance is exposed via Outlines; each OutlineItem also has its own child DRIT.Pdf.Outlines collection.

Inheritance
object
OutlineCollection
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Pdf.Outlines
Assembly: DRIT.Pdf.dll
Syntax
public sealed class OutlineCollection

Properties

Count

Number of items directly in this collection (not counting descendants).

Declaration
public int Count { get; }
Property Value
Type Description
int

this[int]

Gets a top-level outline item by zero-based index.

Declaration
public OutlineItem this[int index] { get; }
Parameters
Type Name Description
int index
Property Value
Type Description
OutlineItem

Methods

AddLast(string)

Append a new bookmark with the given display title and return it.

Declaration
public OutlineItem AddLast(string title)
Parameters
Type Name Description
string title
Returns
Type Description
OutlineItem

Clear()

Remove all bookmark items (and their descendants) from this collection.

Declaration
public void Clear()

RemoveAt(int)

Remove the bookmark item at the specified zero-based index.

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
int index
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX