Aspose::Pdf::LogicalStructure::Element::InsertChild method

Element::InsertChild method

Insert T:/Aspose::Pdf::LogicalStructure::Element to collection of children at specified index.

System::SharedPtr<Element> Aspose::Pdf::LogicalStructure::Element::InsertChild(const System::SharedPtr<Element> &element, int32_t index, bool checkIfCanBeInserted=true)
ParameterTypeDescription
elementconst System::SharedPtr<Element>&T:/Aspose::Pdf::LogicalStructure::Element object to add.
indexint32_tElement index.
checkIfCanBeInsertedboolCheck if can be inserted.

ReturnValue

T:/Aspose::Pdf::LogicalStructure::Element which has been added.

See Also