Aspose::Pdf::LogicalStructure::StructureElement::RemoveAndMoveItsChildObjectsToItsParent method

StructureElement::RemoveAndMoveItsChildObjectsToItsParent method

Removes an element from the structure, a reference to it from the parent object, references to it from child objects, and the corresponding object from the document. Inserts child objects of the removed object into its former parent child objects collection starting at the index of the removed object.

void Aspose::Pdf::LogicalStructure::StructureElement::RemoveAndMoveItsChildObjectsToItsParent(bool checkIfChildObjectsCanBeMovedToParent=true)
ParameterTypeDescription
checkIfChildObjectsCanBeMovedToParentboolCheck if child objects of removed object can be inserted into its parent child objects collection.

See Also