Aspose::Pdf::Text::TableAbsorber::Replace method

TableAbsorber::Replace method

Replaces an AbsorbedTable with Table on the page.

void Aspose::Pdf::Text::TableAbsorber::Replace(System::SharedPtr<Page> page, System::SharedPtr<AbsorbedTable> oldTable, System::SharedPtr<Table> newTable)
ParameterTypeDescription
pageSystem::SharedPtr<Page>Pdf pocument page object.
oldTableSystem::SharedPtr<AbsorbedTable>AbsorbedTable to be replaced.
newTableSystem::SharedPtr<Table>Table to replace old table.

Remarks

Please take into account it changes TableList collection. In case removing/replacing tables in loop please use copy of TableList collection.

See Also