Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

centos7 invoker sheet.AutoSizeColumn Error #159

Open
flzxsqcysyhljt opened this issue Jan 8, 2020 · 0 comments
Open

centos7 invoker sheet.AutoSizeColumn Error #159

flzxsqcysyhljt opened this issue Jan 8, 2020 · 0 comments

Comments

@flzxsqcysyhljt
Copy link

Could not open display (X-Server required. Check your DISPLAY environment variable)
at System.Drawing.Graphics.FromHwnd(IntPtr hwnd)
at NPOI.SS.Util.SheetUtil.getDefaultCharWidth(IWorkbook wb)
at NPOI.SS.Util.SheetUtil.GetColumnWidth(ISheet sheet, Int32 column, Boolean useMergedCells)
at NPOI.HSSF.UserModel.HSSFSheet.AutoSizeColumn(Int32 column, Boolean useMergedCells)
at NPOI.HSSF.UserModel.HSSFSheet.AutoSizeColumn(Int32 column)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant