Max chars in Aspose.Pdf.Text.TextSegment can support

Hi,

We use Aspose.Pdf for .NET version 3.0

we create instance of Aspose.Pdf.Text.TextSegment and pass around 2200 characters.
And finally while saving PDF it long time and fails.

Where as if we pass less than 2000 chars, it works fine.

So trying to understand the Max chars allowed in Aspose.Pdf.Text.TextSegment?

Regards
-Nirmal

@nirmalkumarcm

There is no such limitation in the API in terms of character length. You can add as much long text as you want. Furthermore, we are afraid that you are using a quite older version of the API whereas it is always recommended to use the latest version due to better performance and enhancements. Please try to use Aspose.PDF for .NET 20.11 and in case you still face any issue, please let us know.

Furthermore, please try to use TextParagraph in order to add text at the time of PDF generation as it is better and recommended approach.