Onetastic Macro Documentation >
>
>
RemoveObject RemoveObject
Removes the given object from its parent object. The object must have a parent object. This can be used to delete content from a Page or whole pages. Certain container objects will only be valid with at least one child, and therefore removing the last child will result in a schema error. For instance Outline and Cell objects require at least one Paragraph inside them.
Syntax
void RemoveObject(Object object)
Parameters
- Object object
- The object to remove.
|