Javascript: TXTextControl.ParagraphFormat.getJustification Method

Gets the kind of justification in documents containing Arabic or Hebrew characters. If a paragraph is justified, the additional space to justify the line is added to the spaces between the words. If the line contains Arabic or Hebrew characters the line can also be justified though the insertion of Kashida lines. Takes a callback function with one parameter as a parameter. The callback function is called with the value as parameter upon receiving the information from the server.

Syntax

[JavaScript]
<void> ParagraphFormat.getJustification(<function> callback);
Parameter Description
callback

A function with one parameter. The callback function is called with the value as parameter upon receiving the information from the server. The parameter is the kind of justification in documents containing Arabic or Hebrew characters. The range is defined by the Justification enumeration.

Remarks

The property's default value is Justification.Spaces. The property returns its default value, if the text selection contains multiple paragraphs with different values for this property.

See Also