Onetastic Macro Documentation >
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 it..
void RemoveObject(Object object)
- Object object
- The object to remove.