View Single Post
 
Old 04-22-2024, 06:27 AM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,159
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

You are right, getting the X position is confounded when the text is not simply left aligned. Your example document has justified text and the values calculated for the horizontal alignment positions are inaccurate. I also tried using the Selection object but wasn't getting predictable results there either.

Can I ask what is the point of sticking a circle around text? Wouldn't it be a whole lot easier to just apply highlight to that text?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote