using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using Biff8Excel.Interfaces; namespace Biff8Excel.Records { [StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Auto, Pack = 1)] struct RecordBlank { public ushort opcode; // 0x201; public ushort length; // 0x6; public ushort Row; public ushort Column; public ushort CellStyle; } internal class Blank : IRecords { RecordBlank blank; public Blank() { blank.opcode = 0x201; blank.length = 0x6; } public ushort Row { set { blank.Row = value; } } public ushort Column { set { blank.Column = value; } } public ushort CellStyle { set { blank.CellStyle = value; } } #region IRecords ³ΙΤ± public byte[] GetByte() { return Globals.GetStructToBytes(blank); } #endregion } }