hello
i want to get the size (width and height) of between begin and end of selected text . see this :
i am tried this code :
but not worked . because i have not font informations.
Suppose that i have not the font size and font name of my text
for example , the height of the selected texts is 250 pixel .
help please
thanks
i want to get the size (width and height) of between begin and end of selected text . see this :

i am tried this code :
Code:
CGSize size=[myText sizeWithFont:txt.font];
but not worked . because i have not font informations.
Suppose that i have not the font size and font name of my text
for example , the height of the selected texts is 250 pixel .
help please
thanks