【发布时间】:2017-07-24 22:59:06
【问题描述】:
我正在使用 NPOI 2.0.6.0,我正在尝试定位一个单元格 VerticalAlign TOP 和 Center。
this._rowStyleLight.BorderRight = BorderStyle.Thin;
this._rowStyleLight.FillPattern = FillPattern.SolidForeground;
this._rowStyleLight.SetFillForegroundColor(this._rowColourLight);
this._rowStyleLight.VerticalAlignment = VerticalAlignment.Top;
VerticalAlignment 不提供此功能。当我将_rowStyleLight.Alignment = HorizontalAlignment.Center; 也设置为 Center 时,似乎 NPOI 不能同时应用两者。
有人可以帮忙吗?
【问题讨论】: