BiffRecordType Enum
Definition
Identifies the BIFF record types the codec names. Values are the 16-bit record identifiers defined by the Excel binary file format and are shared by BIFF5 and BIFF8 except where a member's documentation says otherwise.
public enum BiffRecordType : ushort
- Extension Methods
Fields
None = 0The value reported when no record is current.
Formula = 6Formula cell: row, column, format index, the cached result, and the parsed-expression tokens.
Eof = 10End of a substream.
CalcCount = 12Iteration count for circular references.
CalcMode = 13Calculation mode.
Precision = 14Whether values are calculated with displayed precision.
RefMode = 15Reference style (A1 or R1C1).
Delta = 16Iteration convergence delta.
Iteration = 17Whether iteration is enabled.
Protect = 18Sheet or workbook protection flag.
Password = 19Protection password hash.
Header = 20Print header text.
Print footer text.
ExternSheet = 23External sheet references.
Name = 24Defined name (
Lbl).WindowProtect = 25Window protection flag.
VerticalPageBreaks = 26Manual vertical page breaks.
HorizontalPageBreaks = 27Manual horizontal page breaks.
Note = 28Cell note (comment).
Selection = 29Current selection.
DateMode = 34Date system: whether serial dates count from 1904 rather than 1900.
ExternName = 35External name.
PrintHeaders = 42Whether row and column headers are printed.
PrintGridlines = 43Whether gridlines are printed.
FilePass = 47File-pass record: the workbook is encrypted or obfuscated.
Font = 49Font description.
Continue = 60Continuation of the preceding record's payload.
Window1 = 61Workbook window position and options.
Backup = 64Whether a backup is written on save.
Pane = 65Window pane split positions.
CodePage = 66Code page used by byte strings in the stream.
DefColWidth = 85Default column width.
Obj = 93Drawing object.
WriteAccess = 92Name of the user who last saved the workbook.
SaveRecalc = 95Whether the workbook is recalculated before saving.
ColInfo = 125Column width, format, and outline settings for a run of columns.
Guts = 128Outline guttering.
WsBool = 129Sheet-level option flags.
GridSet = 130Whether the print-gridlines option has been changed.
HCenter = 131Whether the sheet is centered horizontally when printed.
VCenter = 132Whether the sheet is centered vertically when printed.
BoundSheet = 133Bound-sheet directory entry: a sheet's name, visibility, type, and substream position.
Country = 140Locale and default country codes.
HideObj = 141Object display mode.
Palette = 146Workbook color palette.
Scl = 160Sheet zoom level.
Setup = 161Page setup.
MulRk = 189A run of adjacent RK-encoded number cells in one row.
MulBlank = 190A run of adjacent blank (formatted, valueless) cells in one row.
Mms = 193Add-in manager record count.
RString = 214Rich-text label cell (BIFF5; superseded by the shared string table in BIFF8).
DbCell = 215Row-block cell offsets used for random access.
BookBool = 218Workbook boolean options.
Xf = 224Extended format (XF): a cell or style format, including its number-format and font indices.
InterfaceHdr = 225Start of the user-interface header block.
InterfaceEnd = 226End of the user-interface header block.
MergeCells = 229Merged cell ranges.
Sst = 252Shared string table (BIFF8 only): the workbook's pooled, deduplicated text values.
LabelSst = 253Label cell whose value is an index into the shared string table (BIFF8 only).
ExtSst = 255Hash table over the shared string table (BIFF8 only).
Dimensions = 512Sheet dimensions: the used row and column extent.
Blank = 513Blank cell: a formatted cell carrying no value.
Number = 515Number cell: an IEEE 754 double-precision value.
Label = 516Label cell: an inline (non-shared) text value.
BoolErr = 517Boolean or error cell.
String = 519The cached string result of the preceding Formula record.
Row = 520Row properties: extent, height, format, and outline settings.
Biff3Bof = 521Beginning-of-file record of a BIFF3 stream; not supported, recognized so the failure is reported as a version mismatch rather than malformed data.
Index = 523Row-block index used for random access.
Array = 545Array formula.
DefaultRowHeight = 549Default row height.
Table = 566Data table (what-if) formula.
Window2 = 574Sheet window options.
Rk = 638RK cell: a number in the compact 30-bit RK encoding.
Style = 659Cell style.
Biff4Bof = 1033Beginning-of-file record of a BIFF4 stream; not supported, recognized so the failure is reported as a version mismatch rather than malformed data.
Format = 1054Number format: a format index and its format code string.
ShrFmla = 1212Shared formula.
Bof = 2057Beginning of a substream: BIFF version, substream type, and build information.
UsesElfs = 352Whether the workbook uses natural-language formulas (BIFF8 only).
SupBook = 430External workbook link (BIFF8 only).
Prot4Rev = 431Shared-workbook protection flag (BIFF8 only).
Txo = 438Text object (BIFF8 only).
RefreshAll = 439Whether external links are refreshed on open (BIFF8 only).
HLink = 440Hyperlink (BIFF8 only).
CodeName = 442Sheet or workbook code name (BIFF8 only).
Prot4RevPass = 444Shared-workbook protection password (BIFF8 only).
Biff2Bof = 9Beginning-of-file record of a BIFF2 stream; not supported, recognized so the failure is reported as a version mismatch rather than malformed data.
Remarks
The enumeration is a curated catalogue, not the full record set: a record whose identifier is not listed here is still readable through RecordId and ValueSpan, and can be written through WriteRecord(ushort, scoped ReadOnlySpan<byte>). Encountering an unlisted identifier is never an error.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |