Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Position of Paragraph in Text Frame

$
0
0

I have a paragraph object being returned by a search. What I want to know is where in the text frame it appears. I actually only need to know if it appears at the beginning of the page. The pages will always be in a uniform position, but could be either left or right hand pages.

 

From what I can see, I could use baseline, as this will tell me the Y axis, but it would change if I changed font/leading size in the future. As it is a 2 column layout, I could also get a false positive on baseline if my paragraph appears at the beginning of the second column.

 

Does anyone have any suggestion on how to prove if a paragraph is at the beginning of a page?


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>