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

unable to get endHorizontalOffset property of a paragraph

$
0
0

Hi,

 

In a script when cycling through paragraphs, I get a "The property is not applicable in the current state" when trying to

 

alert(paragraph.endHorizontalOffset);

alert(paragraph.endBaseline);

 

All the other paragraphs are working fine.

 

I can see the contents of the paragraph, it's baseline and horizontalOffset but not those to properties.

Also the error is not catchable.

 

I also cannot see to be able to get the endBaseline and endHorizontalOffset for any of the words from that paragraph

 

Any clues?

 

Thanks


Viewing all articles
Browse latest Browse all 15932

Trending Articles



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