PdfStringDrawingOptions.ReadingDirection Property

Gets or sets the main direction of text string for the Bidi algorithm.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfReadingDirection ReadingDirection { get; set; }
VB
Public Property ReadingDirection As PdfReadingDirection
	Get
	Set

Property Value

Type: PdfReadingDirection
The main direction of drawn text string.

Remarks

Default value: AutoLtr.

To properly draw right-to-left and bidirectional text string, you need to reorder characters according to the visual order. The Bidi algorithm is used for such reordering. This option allow you to control the main direction of text for the Bidi algorithm.

See Also