Property TextDirection

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

TextDirection

The base direction used to order mixed left-to-right and right-to-left text in ShowText(string) and DrawText(string, double, double, PdfFont, double, PdfColor?). Defaults to Auto. It is not part of the graphics state, so RestoreState() does not reset it.

public TextDirection TextDirection { get; set; }

Property Value

TextDirection

Remarks

Text is still drawn from the start point to the right; to right-align a line, subtract its MeasureText(string, double) width from the right margin.