TxtLoadOptions.DocumentDirection

TxtLoadOptions DocumentDirection property. Gets or sets a document direction. The default value is LeftToRight.

TxtLoadOptions.DocumentDirection property

Gets or sets a document direction. The default value is LeftToRight.

public DocumentDirection DocumentDirection { get; set; }

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