DocumentDirection Enum
Wordize.Loading.DocumentDirection enum. Allows to specify the direction to flow the text in a document.
DocumentDirection enumeration
Allows to specify the direction to flow the text in a document.
public enum DocumentDirection
Values
Name | Value | Description |
---|---|---|
LeftToRight | 0 | Left to right direction. |
RightToLeft | 1 | Right to left direction. |
Auto | 2 | Auto-detect direction. |
Examples
Shows how to specify plaintext document text direction.
TxtLoadOptions txtLoadOptions = new TxtLoadOptions();
txtLoadOptions.DocumentDirection = DocumentDirection.RightToLeft;
Converter.Create()
.From(MyDir + "Hebrew text.txt", txtLoadOptions)
.To(ArtifactsDir + "TxtLoadOptions.DocumentDirection.docx")
.Execute();
See Also
- namespace Wordize.Loading
- assembly Wordize