I'm Using Aspose version 10.1 and I wan't to Upgrade to version 20.7

The Section object is not found in this version Aspose.Pdf what is the Section replacement in the new version ??

and I wanna ask if the TextSegment is replacement for the Text ?

@alterawiwork

In latest version, Aspose.Pdf.Generator approach has been obsolete and a new DOM approach has been introduced. Section is replaced with Page object now. You can please check following documentation articles for further information. In case you face any issue, please let us know.