DeleteOutline
IPDFDocument4 :: Outlines

See Also
Collapse All

This method deletes either a specified node from an outline tree or only its children.

Syntax

HRESULT DeleteOutline (
LONG outlineNode,
VARIANT_BOOL onlyChildren
)
Parameters
outlineNode
Number of the outline node

onlyChildren
If VARIANT_TRUE, only child nodes are deleted. If VARIANT_FALSE, the node and its children are deleted.

Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.

Remarks

The number of the outline node can be retrieved from any node creating method, such as AddOutlineAfter, AddOutlineChild, GetNextSiblingOutline, and so on.

See the AddOutlineAfter method for examples.

See Also

Reference