[]
Defines the outline node within PDF document.
new OutlineNode(
om,
title?,
action?,
expanded?): OutlineNode;
Initialize a new instance of the OutlineNode class.
ObjectManager that controls the lifetime of the OutlineNode.
string
The title of OutlineNode.
| DestinationProperties
| ActionProperties
| DestinationBase
| ActionBase
The action which should be performed or destination defining the new document view.
boolean
Indicates whether the node should be expanded.
OutlineNode
ObjectBase.constructor
new OutlineNode(
title?,
action?,
expanded?): OutlineNode;
Initialize a new instance of the OutlineNode class.
string
The title of OutlineNode.
| DestinationProperties
| ActionProperties
| DestinationBase
| ActionBase
The action which should be performed or destination defining the new document view.
boolean
Indicates whether the node should be expanded.
OutlineNode
ObjectBase.constructor
get action(): ActionBase;
Gets or sets the ActionBase to be performed when this OutlineNode is activated. If both 'dest' and 'action' are specified, the viewer application will determine the behavior, which may be unpredictable. For consistent results, specify only one.
set action(value): void;
Gets or sets the ActionBase to be performed when this OutlineNode is activated. If both 'dest' and 'action' are specified, the viewer application will determine the behavior, which may be unpredictable. For consistent results, specify only one.
| ActionProperties
| ActionBase
void
get children(): OutlineNodeCollection;
Gets the OutlineNodeCollection collection containing child nodes.
get dest(): DestinationBase;
Gets or sets the DestinationBase to be displayed when this OutlineNode is activated. If both 'dest' and 'action' are specified, the viewer application will determine the behavior, which may be unpredictable. For consistent results, specify only one.
set dest(value): void;
Gets or sets the DestinationBase to be displayed when this OutlineNode is activated. If both 'dest' and 'action' are specified, the viewer application will determine the behavior, which may be unpredictable. For consistent results, specify only one.
| DestinationProperties
| DestinationBase
void
get doc(): PdfDocument;
Gets the PdfDocument owning this object.
get expanded(): boolean;
Gets or sets a value indicating whether this OutlineNode expanded and its child nodes are visible.
boolean
set expanded(value): void;
Gets or sets a value indicating whether this OutlineNode expanded and its child nodes are visible.
boolean
void
get hasChildren(): boolean;
Gets a value indicating whether children collection is not empty.
boolean
get id(): number;
Gets the reference to the object.
number
get om(): ObjectManager;
Gets the owner ObjectManager instance.
get owner(): OutlineNodeCollection;
Gets the OutlineNodeCollection collection containing this object.
get parent(): OutlineNode;
Gets the parent OutlineNode.
OutlineNode
get textColor(): Color;
Gets or sets the text color of the outline node.
set textColor(value): void;
Gets or sets the text color of the outline node.
void
get textStyle(): OutlineNodeFontStyle;
Gets or sets the text style of the outline node.
set textStyle(value): void;
Gets or sets the text style of the outline node.
void
get title(): string;
Gets or sets the title of the outline node.
string
set title(value): void;
Gets or sets the title of the outline node.
string
void
free(): void;
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
rebind(omTo): void;
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void