singh.abhinandan
Member
- Joined
- May 31, 2007
- Messages
- 7
- Programming Experience
- 1-3
Hi,
I am drwaing a rectangle of fixed size on an image and rendering text inside the given rectangle with the functionality of word wrap and auto resizing. I am using TextRendere.Drawtext method to draw the text on image. But i am not able the manage the "MIDDLE" and "RIGHT" alignments (horizontal alignments as one can look into microsoft word) of the text.
If i write a line of text with some font size and color and i have another strings to write with different font sizes and colors. In such senarios i am not able to maintain the proper spacing between different string and their font sizes and colors alongwith their MIDDLE/RIGHT alignment
How can i manage the alignments?
TIA for any help!
Regards
Abhinandan
I am drwaing a rectangle of fixed size on an image and rendering text inside the given rectangle with the functionality of word wrap and auto resizing. I am using TextRendere.Drawtext method to draw the text on image. But i am not able the manage the "MIDDLE" and "RIGHT" alignments (horizontal alignments as one can look into microsoft word) of the text.
If i write a line of text with some font size and color and i have another strings to write with different font sizes and colors. In such senarios i am not able to maintain the proper spacing between different string and their font sizes and colors alongwith their MIDDLE/RIGHT alignment
How can i manage the alignments?
TIA for any help!
Regards
Abhinandan