[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISlicer.RowHeight

RowHeight Property

RowHeight

Gets or sets the height, in points, of each row in the specified slicer.

This value controls the height of the item rows displayed in the slicer.

Declaration
double RowHeight { get; set; }
Property RowHeight As Double
Examples
worksheet.Range["A1:B4"].Value = new object[,] {
    {"Category", "Amount"},
    {"Fruit", 100},
    {"Vegetable", 200},
    {"Snack", 150}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B4"], true);
ISlicer slicer = workbook.SlicerCaches.Add(table, "Category")
    .Slicers.Add(worksheet, "categorySlicer", "Category", 20, 20, 120, 160);
double rowHeight = slicer.RowHeight;