I am using Vintasoft imaging demo. I can add effects and other image processing features. I did not find any way to add text to the image. Is there any method available for it or do I need to do it manually? Can you please suggest the good way to add text to it?
Thanks in advance
Unable to add text on imageviewer image
Moderator: Alex
-
- Posts: 1
- Joined: Fri Jan 19, 2018 12:20 am
Re: Unable to add text on imageviewer image
Hello Shah,
For drawing the text on image you need do the following steps:
For drawing the text on image you need do the following steps:
- Create the VintasoftImage object, which defines your image:
https://www.vintasoft.com/docs/vsimagin ... ring).html - Get System.Drawing.Graphics object, which is associated with image, using the VintasoftImage.OpenGraphics method:
https://www.vintasoft.com/docs/vsimagin ... phics.html - Draw text on image using the Graphics.DrawText method:
http://msdn.microsoft.com/en-US/library ... .110).aspx - Close the Graphics using the VintasoftImage.CloseGraphics method:
https://www.vintasoft.com/docs/vsimagin ... phics.html