I can use an inside border line style and an outside line style, but I don't know how I can use both.
As in this picture:
I am using C# and GemBox.Spreadsheet
//inside border
for (int line = 0; line < Projectsource.Count(); line++) //바깥border과 안쪽 얇은 border 같이 쓰면 안됨
{
for (int j = 0; j < 14; j++)//안쪽 cell border 얇게
{
worksheet.Cells[line, j].Style.Borders.SetBorders(
MultipleBorders.Outside, SpreadsheetColor.FromArgb(255, 0, 0), LineStyle.Thin);
}
}
//outside border
//style.Borders.SetBorders(
// MultipleBorders.Outside, SpreadsheetColor.FromArgb(140, 120, 50), LineStyle.Thick);//바깥쪽 border 두껍게 성공
worksheet.Cells.GetSubrange("A2:N762").Style = style;