-
Using javascript to find subscript or superscript
Is there a way using javascript to tell if a textItem has the subscript or superscript text style applied to it?
For example. I can find if the allcaps text style is applied by the following.
if (layer.textItem.capitalization == TextCase.ALLCAPS)
{
//DO SOMETHING
}How do I do the above, but with the subscript text style and the superscript text style?
Thanks,
Rob
Sorry, there were no replies found.