Version

RightToLeft Property (Font)

Returns or sets a value which determines the reading order for the associated run of text.
Syntax
'Declaration
 
Public Property RightToLeft As Nullable(Of Boolean)
public Nullable<bool> RightToLeft {get; set;}
Remarks

This setting determines the manner in which the run contents are presented in the document when punctuation characters are part of the run's contents. When this property is specified, each part of the run between a punctuation mark is laid out in a right-to-left direction on the line.

Typically the developer will also set the RightToLeft property on the ParagraphProperties instance for the paragraph to which this run belongs when using this property.

Setting this property to true will cause the serialization layer to add complex script XML elements for the Bold, Italic, and Size properties to the output document. This behavior can be overridden by explicitly setting the UseComplexScript property to false.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also