API Reference

Class

LegacyXlsDifferentialFormat

Namespace OfficeIMO.Excel.LegacyXls.Model
Assembly OfficeIMO.Excel
Modifiers sealed

Represents differential formatting decoded from legacy XLS conditional-formatting style records.

Inheritance

  • Object
  • LegacyXlsDifferentialFormat

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

LegacyXlsDifferentialFormat 4 overloads
public LegacyXlsDifferentialFormat(Int32 index, Nullable<Byte> fillPattern, String fillForegroundColor, String fillBackgroundColor, UInt16 recordType, Int32 recordOffset) #

Creates a legacy differential format model.

Parameters

index System.Int32 requiredposition: 0
fillPattern System.Nullable{System.Byte} requiredposition: 1
fillForegroundColor System.String requiredposition: 2
fillBackgroundColor System.String requiredposition: 3
recordType System.UInt16 requiredposition: 4
recordOffset System.Int32 requiredposition: 5
public LegacyXlsDifferentialFormat(Int32 index, Nullable<Byte> fillPattern, String fillForegroundColor, String fillBackgroundColor, String fontColor, Nullable<Boolean> fontBold, Nullable<Boolean> fontItalic, UInt16 recordType, Int32 recordOffset) #

Creates a legacy differential format model.

Parameters

index System.Int32 requiredposition: 0
fillPattern System.Nullable{System.Byte} requiredposition: 1
fillForegroundColor System.String requiredposition: 2
fillBackgroundColor System.String requiredposition: 3
fontColor System.String requiredposition: 4
fontBold System.Nullable{System.Boolean} requiredposition: 5
fontItalic System.Nullable{System.Boolean} requiredposition: 6
recordType System.UInt16 requiredposition: 7
recordOffset System.Int32 requiredposition: 8
public LegacyXlsDifferentialFormat(Int32 index, Nullable<Byte> fillPattern, String fillForegroundColor, String fillBackgroundColor, String fontColor, Nullable<Boolean> fontBold, Nullable<Boolean> fontItalic, UInt16 recordType, Int32 recordOffset, LegacyXlsDifferentialBorder border) #

Creates a legacy differential format model.

Parameters

index System.Int32 requiredposition: 0
fillPattern System.Nullable{System.Byte} requiredposition: 1
fillForegroundColor System.String requiredposition: 2
fillBackgroundColor System.String requiredposition: 3
fontColor System.String requiredposition: 4
fontBold System.Nullable{System.Boolean} requiredposition: 5
fontItalic System.Nullable{System.Boolean} requiredposition: 6
recordType System.UInt16 requiredposition: 7
recordOffset System.Int32 requiredposition: 8
border OfficeIMO.Excel.LegacyXls.Model.LegacyXlsDifferentialBorder requiredposition: 9
public LegacyXlsDifferentialFormat(Int32 index, Nullable<Byte> fillPattern, String fillForegroundColor, String fillBackgroundColor, String fontColor, Nullable<Boolean> fontBold, Nullable<Boolean> fontItalic, UInt16 recordType, Int32 recordOffset, LegacyXlsDifferentialBorder border, Nullable<UInt16> numberFormatId, String numberFormatCode) #

Creates a legacy differential format model.

Parameters

index System.Int32 requiredposition: 0
fillPattern System.Nullable{System.Byte} requiredposition: 1
fillForegroundColor System.String requiredposition: 2
fillBackgroundColor System.String requiredposition: 3
fontColor System.String requiredposition: 4
fontBold System.Nullable{System.Boolean} requiredposition: 5
fontItalic System.Nullable{System.Boolean} requiredposition: 6
recordType System.UInt16 requiredposition: 7
recordOffset System.Int32 requiredposition: 8
border OfficeIMO.Excel.LegacyXls.Model.LegacyXlsDifferentialBorder requiredposition: 9
numberFormatId System.Nullable{System.UInt16} requiredposition: 10
numberFormatCode System.String requiredposition: 11

Properties

public Int32 Index { get; } #

Gets the zero-based differential format index in the workbook collection.

public Nullable<Byte> FillPattern { get; } #

Gets the fill pattern code, when present.

public String FillForegroundColor { get; } #

Gets the foreground fill color as ARGB hex, when present.

public String FillBackgroundColor { get; } #

Gets the background fill color as ARGB hex, when present.

public String FontColor { get; } #

Gets the text color as ARGB hex, when present.

public Nullable<Boolean> FontBold { get; } #

Gets whether the differential format explicitly applies bold text.

public Nullable<Boolean> FontItalic { get; } #

Gets whether the differential format explicitly applies italic text.

public LegacyXlsDifferentialBorder Border { get; } #

Gets decoded border formatting, when present.

public Nullable<UInt16> NumberFormatId { get; } #

Gets the decoded number format id, when present.

public String NumberFormatCode { get; } #

Gets the decoded number format code, when present.

public UInt16 RecordType { get; } #

Gets the BIFF record type that supplied this differential format.

public Int32 RecordOffset { get; } #

Gets the BIFF stream offset of the source record.