Skip to content

Row Height and Styles

Francois Botha edited this page Feb 26, 2018 · 3 revisions

RowSettings.jpg

var workbook = new XLWorkbook();
var ws = workbook.Worksheets.Add("Row Settings");

var row1 = ws.Row(2);
row1.Style.Fill.BackgroundColor = XLColor.Red;
row1.Height = 30;

var row2 = ws.Row(4);
row2.Style.Fill.BackgroundColor = XLColor.DarkOrange;
row2.Height = 3;

workbook.SaveAs("RowSettings.xlsx");

FAQ

Examples

Real world scenarios

Time Savers

Performance and Memory

Misc

Inserting Data/Tables

Styles

Ranges

Rows

Columns

Page Setup (Print Options)

AutoFilters

Comments

Dev docs

Clone this wiki locally