[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.OutlineNode

Class OutlineNode

Namespace
GrapeCity.Documents.Pdf
Assembly
GcDocs.Pdf.dll

Defines the outline node within PDF document.

public class OutlineNode : PdfDictWrapper, IPdfDict, IOwnedObject
Inheritance
object
OutlineNode
Implements
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Extension Methods

Constructors

OutlineNode()

Initializes a new instance of the OutlineNode class.

public OutlineNode()

OutlineNode(string, ActionBase, bool)

Initializes a new instance of the OutlineNode class.

public OutlineNode(string title, ActionBase action, bool expanded = false)

Parameters

title string

The title of OutlineNode.

action ActionBase

The ActionBase to be activated when this OutlineNode clicked.

expanded bool

The initial expanded state of OutlineNode.

OutlineNode(string, DestinationBase, bool)

Initializes a new instance of the OutlineNode class.

public OutlineNode(string title, DestinationBase dest, bool expanded = false)

Parameters

title string

The title of OutlineNode.

dest DestinationBase

The DestinationBase to be activated when this OutlineNode clicked.

expanded bool

The initial expanded state of OutlineNode.

OutlineNode(string)

Initializes a new instance of the OutlineNode class.

public OutlineNode(string title)

Parameters

title string

The title of OutlineNode.

Properties

Action

Gets or sets the ActionBase to be performed when this OutlineNode is activated.

public ActionBase Action { get; set; }

Property Value

ActionBase

Children

Gets the OutlineNodeCollection collection containing child nodes.

public OutlineNodeCollection Children { get; }

Property Value

OutlineNodeCollection

Dest

Gets or sets the DestinationBase to be displayed when this OutlineNode is activated.

public DestinationBase Dest { get; set; }

Property Value

DestinationBase

Doc

Gets the GcPdfDocument owning this object.

public GcPdfDocument Doc { get; }

Property Value

GcPdfDocument

Expanded

Gets or sets a value indicating whether this OutlineNode expanded and its child nodes are visible.

public bool Expanded { get; set; }

Property Value

bool

HasChildren

Gets a value indicating whether Children collection is not empty.

public bool HasChildren { get; }

Property Value

bool

Owner

Gets the OutlineNodeCollection collection containing this object.

public OutlineNodeCollection Owner { get; }

Property Value

OutlineNodeCollection

Parent

Gets the parent OutlineNode.

public OutlineNode Parent { get; }

Property Value

OutlineNode

TextColor

Gets or sets the text color of the outline node.

public Color TextColor { get; set; }

Property Value

System.Drawing.Color

TextStyle

Gets or sets the text style of the outline node.

public OutlineNode.FontStyle TextStyle { get; set; }

Property Value

OutlineNode.FontStyle

Title

Gets or sets the title of the outline node.

public string Title { get; set; }

Property Value

string