public static void TextDirection(Cell cell, TextDirectionType text_direction) { Style style = cell.GetStyle(); style.TextDirection = text_direction; cell.SetStyle(style); }