Truncate a text based on a max width and add ellipsis at the end

Hi there,

I there any way to truncate/trim single line of text and add a ellipsis at the end to fit a certain text segment rectangle width?
Or calculate how many characters of a text with a certain font/size can fit into a segment width?
I’m using Aspose.PDF .NET - C#

Thank you

@gwert
Thank you for contacting support.
We will contact the developers and respond to you as soon as possible.

1 Like