ClearDCO

Clears all objects of the Document Hierarchy which are children of the bound object, and their variables.

Syntax

bool ClearDCO ()

Parameters

Smart parameters are supported.

Returns

True if all child objects and their variables are removed, otherwise False.

Level

All.

Details

Removes all DCO children and variable references from the bound object.
Example:
CreateFields()
ClearDCO()

Applied at the Page level, the example will first add fields to the page and then remove them.