Draw underlined / strikethrough text ( MULTILINE STRING ) ?

Posted by Madhup on Stack Overflow See other posts from Stack Overflow or by Madhup
Published on 2010-04-16T10:29:25Z Indexed on 2010/04/16 10:33 UTC
Read the original article Hit count: 778

Hi,

I have to draw underlined-multiline text with all types of text alignment. I have searched on forums and got some results like:

http://davidjhinson.wordpress.com/2009/11/26/underline-text-on-the-iphone/

http://forums.macrumors.com/showthread.php?t=561572

But all draw text for single line only. while i have multi-line text. The situation even become worse when the text alignment is centered. I searched and found that in iphone-sdk-3.2 there are some core-text attributes for underlining a text but no idea how to use that. Besides if I use these my problem would not be solved fully.

As I have to draw strikethrough text also.

Anybody having idea about this please help.

© Stack Overflow or respective owner

Related posts about ipad-sdk

Related posts about iphone-sdk-3.2