Page 1 of 1

rect of chunk in field

Posted: Mon Aug 26, 2013 8:08 am
by monte
Hi

I'm wondering about the possibility of getting the rect of a chunk of text in a field. I'm guessing I'd need to delve into MCParagraph etc again... I'm thinking of something like the reverse of getclickindex... The use case is I need to display a graphic in the rect of a word of a field.

Cheers

Monte

Re: rect of chunk in field

Posted: Mon Aug 26, 2013 8:33 am
by bn
Hi Monte,

can't you use the formattedRect?

Code: Select all

put the formattedRect of word 5 of field 1
KInd regards
Bernd

Re: rect of chunk in field

Posted: Mon Aug 26, 2013 9:38 am
by monte
Because that would be too easy Bernd ;-)

Thanks!

Re: rect of chunk in field

Posted: Mon Aug 26, 2013 12:32 pm
by Klaus
Monte, you do NOT have an external for this??? :shock:

:D