📄 marginrecord.cs
字号:
using System;
using Microsoft.Fawvw.Components.NExcel.Biff;
namespace Microsoft.Fawvw.Components.NExcel.Read.Biff
{
/// <summary> Abstract class containing the margin value for top,left,right and bottom
/// margins
/// </summary>
abstract class MarginRecord:RecordData
{
/// <summary> Accessor for the margin
///
/// </summary>
/// <returns> the margin
/// </returns>
virtual internal double Margin
{
get
{
return margin;
}
}
/// <summary> The size of the margin</summary>
private double margin;
/// <summary> Constructs this record from the raw data
///
/// </summary>
/// <param name="t">the type
/// </param>
/// <param name="r">the record
/// </param>
protected internal MarginRecord(Microsoft.Fawvw.Components.NExcel.Biff.Type t, Record r):base(t)
{
sbyte[] data = r.Data;
margin = DoubleHelper.getIEEEDouble(data, 0);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -