Hello Team,
We are generating image by merging images and text using Aspose.Imaging. When we try to draw string on image, we are facing text cut off issue. How can we draw string so that whole text will be display in image. Please refer attachment of issue and sample application. In sample application we are trying to draw “Source: Company Name, Inc. Unauthorized reproduction, citation, or distribution prohibited.” string using drawstring method but you can see that whole text is not displaying in output image. How can we wrap text in next line if it is not fit in specific width? Please yellow highlighted portion in output.jpg.
In our case, image size may vary every time, so we want to draw string on image so that it fit within size of image?
Aspose_Imaging.zip
(317.3 KB)
output.png (46.5 KB)