PageSetupBidi Property

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

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.10.0

ExpandedSyntax

public bool Bidi { get; set; }

Property Value

Type: Boolean

ExpandedRemarks

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

ExpandedExamples

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");

ExpandedSee Also