Hello,
I have a large piece of text which i want to draw on the screen using [I][B]gc.DrawText()[/B][/I] method. I tried using "\n", "\r\n", "\u2029" but they don't work.
Does anybody know how to draw text of screen with newline characters??
Thanks
Printable View
Hello,
I have a large piece of text which i want to draw on the screen using [I][B]gc.DrawText()[/B][/I] method. I tried using "\n", "\r\n", "\u2029" but they don't work.
Does anybody know how to draw text of screen with newline characters??
Thanks
One easy way to draw large text on container is to utilize a label(CEikLabel) & make it multiline then.
See how this works :
[url]http://www.developer.nokia.com/Community/Wiki/How_to_use_CEikLabel[/url]
Otherwise with DrawText(), i do not think it identifies \n character so the only way left is to give 'y' co-ordinate each time you write a new line.
Alright!
Thanks Vineet.