【问题标题】:Epplus cell range numericallyEpplus 单元格范围数值
【发布时间】:2020-11-26 13:12:58
【问题描述】:

在 EPPlus 扩展中,如果我需要为 A1 到 C1 等一系列单元格设置样式,我将使用以下内容

ws.Cells["A1:C1"].Style.Font.Bold = true;

仅使用数字的等效项是什么?

【问题讨论】:

  • EPPlus 是使用Column[] 还是Row[]

标签: c# excel epplus


【解决方案1】:

Cells 有一个重载,可以让您像这样执行[FromRow, FromCol, ToRow, ToCol]

ws.Cells[1, 1, 1, 3].Style.Font.Bold = true;

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-02-29
    • 2020-02-09
    • 1970-01-01
    • 2014-03-20
    • 1970-01-01
    • 1970-01-01
    • 2017-04-22
    • 1970-01-01
    相关资源
    最近更新 更多