Class PdfOutline
- Namespace
- iTextSharp.text.pdf
- Assembly
- iTextSharp.LGPLv2.Core.dll
PdfOutline is an object that represents a PDF outline entry. An outline allows a user to access views of a document by name. This object is described in the 'Portable Document Format Reference Manual version 1.3' section 6.7 (page 104-106) @see PdfDictionary
public class PdfOutline : PdfDictionary
- Inheritance
-
PdfOutline
- Inherited Members
Constructors
PdfOutline(PdfOutline, PdfAction, string)
constructors
public PdfOutline(PdfOutline parent, PdfAction action, string title)
Parameters
parent
PdfOutlineaction
PdfActiontitle
string
PdfOutline(PdfOutline, PdfAction, string, bool)
Constructs a PdfOutline . This is the constructor for an outline entry .
public PdfOutline(PdfOutline parent, PdfAction action, string title, bool open)
Parameters
parent
PdfOutlinethe parent of this outline item
action
PdfActionthe PdfAction for this outline item
title
stringthe title of this outline item
open
booltrue if the children are visible
PdfOutline(PdfOutline, PdfAction, Paragraph)
public PdfOutline(PdfOutline parent, PdfAction action, Paragraph title)
Parameters
parent
PdfOutlineaction
PdfActiontitle
Paragraph
PdfOutline(PdfOutline, PdfAction, Paragraph, bool)
Constructs a PdfOutline . This is the constructor for an outline entry .
public PdfOutline(PdfOutline parent, PdfAction action, Paragraph title, bool open)
Parameters
parent
PdfOutlinethe parent of this outline item
action
PdfActionthe PdfAction for this outline item
title
Paragraphthe title of this outline item
open
booltrue if the children are visible
PdfOutline(PdfOutline, PdfAction, PdfString)
Constructs a PdfOutline . This is the constructor for an outline entry . The open mode is true .
public PdfOutline(PdfOutline parent, PdfAction action, PdfString title)
Parameters
parent
PdfOutlinethe parent of this outline item
action
PdfActionthe PdfAction for this outline item
title
PdfStringthe title of this outline item
PdfOutline(PdfOutline, PdfAction, PdfString, bool)
Constructs a PdfOutline . This is the constructor for an outline entry .
public PdfOutline(PdfOutline parent, PdfAction action, PdfString title, bool open)
Parameters
parent
PdfOutlinethe parent of this outline item
action
PdfActionthe PdfAction for this outline item
title
PdfStringthe title of this outline item
open
booltrue if the children are visible
PdfOutline(PdfOutline, PdfDestination, string)
public PdfOutline(PdfOutline parent, PdfDestination destination, string title)
Parameters
parent
PdfOutlinedestination
PdfDestinationtitle
string
PdfOutline(PdfOutline, PdfDestination, string, bool)
Constructs a PdfOutline . This is the constructor for an outline entry .
public PdfOutline(PdfOutline parent, PdfDestination destination, string title, bool open)
Parameters
parent
PdfOutlinethe parent of this outline item
destination
PdfDestinationthe destination for this outline item
title
stringthe title of this outline item
open
booltrue if the children are visible
PdfOutline(PdfOutline, PdfDestination, Paragraph)
public PdfOutline(PdfOutline parent, PdfDestination destination, Paragraph title)
Parameters
parent
PdfOutlinedestination
PdfDestinationtitle
Paragraph
PdfOutline(PdfOutline, PdfDestination, Paragraph, bool)
Constructs a PdfOutline . This is the constructor for an outline entry .
public PdfOutline(PdfOutline parent, PdfDestination destination, Paragraph title, bool open)
Parameters
parent
PdfOutlinethe parent of this outline item
destination
PdfDestinationthe destination for this outline item
title
Paragraphthe title of this outline item
open
booltrue if the children are visible
PdfOutline(PdfOutline, PdfDestination, PdfString)
public PdfOutline(PdfOutline parent, PdfDestination destination, PdfString title)
Parameters
parent
PdfOutlinedestination
PdfDestinationtitle
PdfString
PdfOutline(PdfOutline, PdfDestination, PdfString, bool)
Constructs a PdfOutline . This is the constructor for an outline entry .
public PdfOutline(PdfOutline parent, PdfDestination destination, PdfString title, bool open)
Parameters
parent
PdfOutlinethe parent of this outline item
destination
PdfDestinationthe destination for this outline item
title
PdfStringthe title of this outline item
open
booltrue if the children are visible
Fields
Writer
protected PdfWriter Writer
Field Value
kids
membervariables
protected IList<PdfOutline> kids
Field Value
Properties
Color
methods
public BaseColor Color { get; set; }
Property Value
IndirectReference
the PdfIndirectReference of this object
public PdfIndirectReference IndirectReference { get; set; }
Property Value
Kids
public IList<PdfOutline> Kids { get; set; }
Property Value
Level
public int Level { get; }
Property Value
Open
Setter for property open.
public bool Open { get; set; }
Property Value
Parent
value of the Parent-key
public PdfOutline Parent { get; }
Property Value
PdfDestination
Gets the destination for this outline.
public PdfDestination PdfDestination { get; }
Property Value
- PdfDestination
the destination
Style
Holds value of property style.
public int Style { get; set; }
Property Value
Tag
Getter for property tag.
public string Tag { get; set; }
Property Value
- string
Value of property tag.
Title
public string Title { get; set; }
Property Value
Methods
AddKid(PdfOutline)
public void AddKid(PdfOutline outline)
Parameters
outline
PdfOutline
SetDestinationPage(PdfIndirectReference)
public bool SetDestinationPage(PdfIndirectReference pageReference)
Parameters
pageReference
PdfIndirectReference
Returns
ToPdf(PdfWriter, Stream)
public override void ToPdf(PdfWriter writer, Stream os)