2 Replies Latest reply on May 18, 2008 12:04 AM by Peter Kahrel

    KerningValue not applicable?

    Level 1
      I need to get and set the kerning value of a characters but I'm getting an error of "The property is not applicable in the current state" from these two simple lines of code.

      Set MySel = InD.Selection(1)
      Set MyChar = MySel.Paragraphs(1).Lines(1).Characters(2)
      MsgBox MyChar.KerningValue

      I'm getting the error regardless of what is selected.

      Any idea what that it means?

      Many thanks,