Skip to main content
April 1, 2009
Question

how to grasp Tab Stop setting for text flow or for a para

  • April 1, 2009
  • 1 reply
  • 773 views
hi, does anybody know how easily to get default TabStopFormat ? currently i check via para.computeTextLayoutElementFormat.tabstops which may have nothing.
This topic has been closed for replies.

1 reply

Adobe Employee
April 1, 2009
tabStops default value is null. You can set the tabStops at the TextFlow level, and let them inherit down to the paragraphs. Then any paragraph which does not set the tabStops itself will inherit them from the TextFlow.

Here's an example of how this would look in the markup:
<TextFlow xmlns=" http://ns.adobe.com/textLayout/2008" fontSize="18" tabStops="300">
<p>
<tab/>Implicit alignment type [300]
</p>
</TextFlow>