Skip to content

PDFOptionalContentDisplayTreeNode

Namespace: O2S.Components.PDF4NET.Graphics.OptionalContent

Defines a node in the optional content display tree.

public class PDFOptionalContentDisplayTreeNode

Inheritance ObjectPDFOptionalContentDisplayTreeNode

Remarks

Each node in the tree is an optional content group.

Constructors

PDFOptionalContentDisplayTreeNode(PDFOptionalContentGroup)

Initializes a new PDFOptionalContentDisplayTreeNode object.

public PDFOptionalContentDisplayTreeNode(PDFOptionalContentGroup group)

Parameters

group PDFOptionalContentGroup
The group associated with this node.


PDFOptionalContentDisplayTreeNode(String)

Initializes a new PDFOptionalContentDisplayTreeNode object.

public PDFOptionalContentDisplayTreeNode(string label)

Parameters

label String
String label to be displayed for this node.


Properties

Group

Gets or sets the group associated with this node.

public PDFOptionalContentGroup Group { get; set; }

Property Value

PDFOptionalContentGroup
The group displayed in this node of the optional content display tree.

Remarks

PDFOptionalContentDisplayTreeNode.Label and PDFOptionalContentDisplayTreeNode.Group properties are exclusive.


Label

Gets or sets the node label.

public string Label { get; set; }

Property Value

String
A string to be displayed in the tree as node label.

Remarks

PDFOptionalContentDisplayTreeNode.Label and PDFOptionalContentDisplayTreeNode.Group properties are exclusive.


Nodes

Gets the collection of child nodes for this node.

public PDFOptionalContentDisplayTreeNodeCollection Nodes { get; internal set; }

Property Value

PDFOptionalContentDisplayTreeNodeCollection
The child nodes of this node.