-2

I have the following requirement

  • Need to provide Annotate toolbar while viewing images documents ( TIFF, PDF...) to user
  • User can update, erase text and add comment in image document and save the document.

I am looking for a free SDK to do this in C#.

Vadim Kotov
  • 7,103
  • 8
  • 44
  • 57
user2218549
  • 155
  • 2
  • 2
  • 7

1 Answers1

0

Try to modify the code below from this answer to macht you´r needs, regarding saving the texted images you can refer to this article.

var bmp = Bitmap.FromFile("orig.jpg");
var newImage = new Bitmap(bmp.Width, bmp.Height + 50);

var gr = Graphics.FromImage(newImage);
gr.DrawImageUnscaled(bmp, 0, 0);
gr.DrawString("this is the added text", SystemFonts.DefaultFont, Brushes.Black ,
    new RectangleF(0, bmp.Height, bmp.Width, 50));

newImage.Save("newImg.jpg");
Community
  • 1
  • 1
CloudyMarble
  • 34,949
  • 69
  • 92
  • 126