3 Replies Latest reply on Nov 3, 2014 6:20 AM by TᴀW

    unable to get endHorizontalOffset property of a paragraph

    mircea.nicolae

      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