Hi all,
Just wondering if it is possible to find the physical location of selected
text (ie, in units from top and left of slide) within a textbox/autoshape?
I have a macro that formats my selected text in a special way, and I want it
to put a line (not underline, an actual line) under the text. But I can't
seem to get appropriate x,y coordinates for the line to put it in the right
place.
Thanks
Shyam Pillai - 09 May 2008 02:03 GMT
Take look at this example: http://skp.mvps.org/ppt00041.htm#2. Once you know
the location of the cursor it is possible to arrive at the x/y co-ordinates
you require using the BoundHeight/BoundTop/BoundWidth/BoundLeft properties.
Regards,
Shyam Pillai
Image Importer Wizard
http://skp.mvps.org/iiw.htm
> Hi all,
>
[quoted text clipped - 8 lines]
>
> Thanks
Steve Rindsberg - 09 May 2008 16:44 GMT
> Hi all,
>
[quoted text clipped - 4 lines]
> seem to get appropriate x,y coordinates for the line to put it in the right
> place.
Something like this:
Double-Underline text
http://www.pptfaq.com/FAQ00775.htm
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================