defaultcolumnwidthrecord.cs
来自「Excel的操作,其中可以读取及写入Excel 文件」· CS 代码 · 共 40 行
CS
40 行
using System;
using Microsoft.Fawvw.Components.NExcel.Biff;
namespace Microsoft.Fawvw.Components.NExcel.Read.Biff
{
/// <summary> Contains the default column width for cells in this sheet</summary>
class DefaultColumnWidthRecord:RecordData
{
/// <summary> Accessor for the default width
///
/// </summary>
/// <returns> the width
/// </returns>
virtual public int Width
{
get
{
return width;
}
}
/// <summary> The default columns width, in characters</summary>
private int width;
/// <summary> Constructs the def col width from the raw data
///
/// </summary>
/// <param name="t">the raw data
/// </param>
public DefaultColumnWidthRecord(Record t):base(t)
{
sbyte[] data = t.Data;
width = IntegerHelper.getInt(data[0], data[1]);
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?