We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Best way to deal with text which is not fitted in rectangle in aspose imaging?

Hello Team,

We are using Aspose imaging V 21.4.0 to generate image from text. In our case it is possible that text is wider than the length of rectangle. In this scenario how can we deal with text so that whole text will display in image instead of text cutting or ellipsis? Please refer red highlighted portion in attached generated image. Right now ellipsis is displaying for rest of text but we want to show whole text in both red highlighted portion. Please suggest.

image.zip (30.0 KB)


Can you please share the details of requirements more elaborative and perhaps with a full snapshot.