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.
20 lines
407 B
20 lines
407 B
using NPOI.SS.UserModel;
|
|
|
|
namespace TeacherExt.Infra
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|