PageSetupBidi Property

Specifies that this section contains bidirectional (complex scripts) text.

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public bool Bidi { get; set; }

Property Value

Type: Boolean
Remarks

When true, the columns in this section are laid out from right to left.

Examples
Shows how to change the order of columns.
Document doc = new Document();

PageSetup pageSetup = doc.Sections[0].PageSetup;
pageSetup.TextColumns.SetCount(3);

DocumentBuilder builder = new DocumentBuilder(doc);

builder.Write("Column 1.");
builder.InsertBreak(BreakType.ColumnBreak);
builder.Write("Column 2.");
builder.InsertBreak(BreakType.ColumnBreak);
builder.Write("Column 3.");

// Reverse the order of the columns
pageSetup.Bidi = true;

doc.Save(ArtifactsDir + "PageSetup.Bidi.docx");
See Also