panerecord.cs
来自「Excel的操作,其中可以读取及写入Excel 文件」· CS 代码 · 共 56 行
CS
56 行
using System;
using Microsoft.Fawvw.Components.NExcel.Biff;
namespace Microsoft.Fawvw.Components.NExcel.Read.Biff
{
/// <summary> Contains the cell dimensions of this worksheet</summary>
class PaneRecord:RecordData
{
/// <summary> Accessor for the number of rows in the top left pane
///
/// </summary>
/// <returns> the number of rows visible in the top left pane
/// </returns>
virtual public int RowsVisible
{
get
{
return rowsVisible;
}
}
/// <summary> Accessor for the numbe rof columns visible in the top left pane
///
/// </summary>
/// <returns> the number of columns visible in the top left pane
/// </returns>
virtual public int ColumnsVisible
{
get
{
return columnsVisible;
}
}
/// <summary> The number of rows visible in the top left pane</summary>
private int rowsVisible;
/// <summary> The number of columns visible in the top left pane</summary>
private int columnsVisible;
/// <summary> Constructs the dimensions from the raw data
///
/// </summary>
/// <param name="t">the raw data
/// </param>
public PaneRecord(Record t):base(t)
{
sbyte[] data = t.Data;
columnsVisible = IntegerHelper.getInt(data[0], data[1]);
rowsVisible = IntegerHelper.getInt(data[2], data[3]);
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?