0

I have printing text on round label for cd. I have used following function. How can I render curved text into a Bitmap?

and my parameters are as follow.

Brush br = Brushes.Black;
Font f = new Font("Courier", 12);
string str = "te testt - 123-456"; 
Point pt = new Point(35, 35);
DrawCurvedText(gFinal, str, pt, 110, 90, f, br);
str = "123-456-7890";
Point pt2 = new Point(35, 35);
DrawCurvedText(gFinal, str, pt2, 80, 90, f, br);
gFinal.DrawImage(bmp, 35, 130);

Will anyone help me how to calculate co-ordinates? I need to start text from left to right currently it shows from up. for any help thanks in advance.

Image link: http://www.4shared.com/download/26CjNyh_ce/Untitled.jpg?lgfp=3000

Community
  • 1
  • 1
  • 1
    can you attach an image that shows your current problem? if you include a *direct* link to the image, another user can edit your question to show it – Sayse Aug 26 '14 at 06:27
  • i am new to this and i have try to add image but i am not able to do that. Basically my text start from top up. I want to print text from left side of circle. You can try in word take word art which print round text it start from left side same way i need. if you can give me email i will send you image for more info. – user2468263 Aug 27 '14 at 05:12
  • There are plenty of image uploads on the internet to use, but to me it sounds like the easiest way would to just be to [rotate the graphic 90 degrees](http://msdn.microsoft.com/en-us/library/a0z3f662(v=vs.110).aspx) – Sayse Aug 27 '14 at 06:26
  • OK, i will try and update you. – user2468263 Aug 28 '14 at 04:16
  • i have added image link. Please suggest me any solution. – user2468263 Aug 28 '14 at 05:35

0 Answers0