Finding Top & Height of text in PowerPoint shape

A

Abhishek Bagga

Hi! everybody
I am using PPT XP (Office XP)
I am facing a problem in extracting the height and top of text in a textbox
I am using the the property

sTextRange.Runs(iRuns,1).BoundHeight And
sTextRange.Runs(iRuns,1).BoundTop (where iRuns is a incermental integer)

but this does not give me exact top & height rather it gives me the top &
height of the biggest character in the textbox.
e.g if i have the first character of a line with bigger font size to
emphasixe the top & height of all the characters is given as same as that of
the biggest character.
I need to extract it for each character.

Is there any way out wherein i can find the exact top & height of the
individual characters, even if i get the top it will work for me.

Any help & suggestions would be welcomed
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top