# PdfTextDirection enum

> Base direction of a paragraph. PdfTextDirection enum, PdfNetStack.Drawing namespace.

Namespace: [PdfNetStack.Drawing](https://www.jadev-corp.com/api/pdfnetstack-drawing/)  
Assembly: PdfNetStack.dll  
Package: `PdfNetStack`

Base direction of a paragraph.

```csharp
public enum PdfTextDirection
```

## Fields

`Auto = 0` 

From the first strong character, as the Unicode bidirectional algorithm does.

`LeftToRight = 1` 

Left to right, as in English.

`RightToLeft = 2` 

Right to left, as in Arabic and Hebrew.

## Used in

- [Fonts and text in PDF with C# and .NET](https://www.jadev-corp.com/guides/fonts-and-text/)
- [Write Arabic text in a PDF in C#](https://www.jadev-corp.com/recipes/arabic-text-pdf/)

Source: https://www.jadev-corp.com/pdfnetstack/api/pdfnetstack-drawing/pdftextdirection/
