Novacode.Table.SetDirection C# (CSharp) Method

SetDirection() public method

Set the direction of all content in this Table.
public SetDirection ( Direction direction ) : void
direction Direction (Left to Right) or (Right to Left)
return void
        public void SetDirection(Direction direction)
        {
            XElement tblPr = GetOrCreate_tblPr();
            tblPr.Add(new XElement(DocX.w + "bidiVisual"));

            foreach (Row r in Rows)
                r.SetDirection(direction);
        }