You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/labs/Teacher/TeacherExt/Controllers/NPOIExt.cs

25 lines
516 B

using NPOI.SS.UserModel;
namespace TeacherExt.Controllers
{
public static class NPOIExt
{
public static ICell SetType(this ICell cell, CellType type)
{
cell.SetCellType(type);
return cell;
}
public static ICell SetStyle(this ICell cell, ICellStyle style)
{
cell.CellStyle = style;
return cell;
}
public static IRow Order(this IRow row,int order)
{
return row;
}
}
}