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

NameValueDescription
LeftToRight0Left to right direction.
RightToLeft1Right to left direction.
Auto2Auto-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