0
有沒有什麼方法可以通過打開的xml sdk和epplus獲取特定單元格的樣式?使用Epplus獲取excel單元格樣式
目前,我通過以下方式獲得的值:
currentWorksheet.Cells[nRowId, 3].Text.Trim();
在adittion這個我想如果有一個背景顏色和邊框。
有沒有什麼方法可以通過打開的xml sdk和epplus獲取特定單元格的樣式?使用Epplus獲取excel單元格樣式
目前,我通過以下方式獲得的值:
currentWorksheet.Cells[nRowId, 3].Text.Trim();
在adittion這個我想如果有一個背景顏色和邊框。
嘗試
currentWorksheet.Cells[nRowId, 3].Style;
另外:
currentWorksheet.Cells[nRowId, 3].Style.Fill.BackgroundColor;
currentWorksheet.Cells[nRowId, 3].Style.Border;