Class WindowTwoRecord
Sheet window settings.
Inheritance
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
[CLSCompliant(false)]
[Biff(TBIFFRecord.WindowTwo)]
public class WindowTwoRecord : BiffRecordRaw, ICloneable, IBiffStorage
Constructors
WindowTwoRecord()
Default constructor
Declaration
public WindowTwoRecord()
WindowTwoRecord(Int32)
Reserved for record's internal data array.
Declaration
public WindowTwoRecord(int iReserve)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iReserve | Amount of bytes for data array. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | If amount of bytes requested is less than zero. |
WindowTwoRecord(Stream, out Int32)
Read / initialize constructor.
Declaration
public WindowTwoRecord(Stream stream, out int itemSize)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream from which record data should be read. |
System.Int32 | itemSize | Size of read item. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If stream is not specified. |
System.ApplicationException | If stream does not support read or seek operations. |
Properties
HeaderColor
The palette index for the header color.
Declaration
public int HeaderColor { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsArabic
Is this Arabic?
Declaration
public bool IsArabic { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDefaultHeader
Whether the window should display a default header.
Declaration
public bool IsDefaultHeader { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDisplayFormulas
Whether the window should display formulas.
Declaration
public bool IsDisplayFormulas { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDisplayGridlines
Whether the window should display gridlines.
Declaration
public bool IsDisplayGridlines { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDisplayGuts
Whether the outline symbols are displayed.
Declaration
public bool IsDisplayGuts { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDisplayRowColHeadings
Whether the window should display row and column headings.
Declaration
public bool IsDisplayRowColHeadings { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDisplayZeros
Whether the window should display zero values.
Declaration
public bool IsDisplayZeros { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsFreezePanes
Whether the window should freeze panes.
Declaration
public bool IsFreezePanes { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsFreezePanesNoSplit
Freeze unsplit panes or not.
Declaration
public bool IsFreezePanesNoSplit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsPaged
Is the sheet currently displayed in the window?
Declaration
public bool IsPaged { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSavedInPageBreakPreview
Was the sheet saved in page break view?
Declaration
public bool IsSavedInPageBreakPreview { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSelected
Sheet tab is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LeftColumn
The leftmost column displayed in the window.
Declaration
public ushort LeftColumn { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
MaximumRecordSize
Read-only. Returns maximum possible size of record's internal data array.
Declaration
public override int MaximumRecordSize { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
MinimumRecordSize
Read-only. Returns minimum possible size of record's internal data array.
Declaration
public override int MinimumRecordSize { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Options
Read-only. Option flags.
Declaration
public ushort Options { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
TopRow
The top row visible in the window.
Declaration
public ushort TopRow { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Methods
GetStoreSize(ExcelVersion)
Size of the required storage space. Read-only.
Declaration
public override int GetStoreSize(ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
ExcelVersion | version |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
ParseStructure(DataProvider, Int32, Int32, ExcelVersion)
Parse structure of record. Convert Data buffer to special values according to record specification.
Declaration
public override void ParseStructure(DataProvider provider, int iOffset, int iLength, ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
DataProvider | provider | Object that provides access to the data. |
System.Int32 | iOffset | Offset to the record's data. |
System.Int32 | iLength | Length of the record's data. |
ExcelVersion | version | Excel version used for infill. |