Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Retrieve paragraph direction from ME edition of Illustrator using javascript

$
0
0

Hi,

 

I have the ME edition of Illustrator CC installed.

When i open an Arabic illustrator document i can see the 'Left-to-right Paragraph Direction' and 'Right-to-left Paragraph Direction' button.

Also the Middle Eastern Single-line composer and Middle Eastern Every-line composer are active.

 

I would like to read these properties from the script but i cannot find any properties of the ParagraphAttributes class that contain this information.

Does anyone know were to find this?

 

I would expect something like this:

 

var story = app.activeDocument.stories[0];

story.textRange.paragraphAttributes.direction


Viewing all articles
Browse latest Browse all 12845

Trending Articles



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