API Reference
LegacyXlsDifferentialFormat
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.
Returned or exposed by
Constructors
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
- fillPattern System.Nullable{System.Byte}
- fillForegroundColor System.String
- fillBackgroundColor System.String
- recordType System.UInt16
- recordOffset System.Int32
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
- fillPattern System.Nullable{System.Byte}
- fillForegroundColor System.String
- fillBackgroundColor System.String
- fontColor System.String
- fontBold System.Nullable{System.Boolean}
- fontItalic System.Nullable{System.Boolean}
- recordType System.UInt16
- recordOffset System.Int32
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
- fillPattern System.Nullable{System.Byte}
- fillForegroundColor System.String
- fillBackgroundColor System.String
- fontColor System.String
- fontBold System.Nullable{System.Boolean}
- fontItalic System.Nullable{System.Boolean}
- recordType System.UInt16
- recordOffset System.Int32
- border OfficeIMO.Excel.LegacyXls.Model.LegacyXlsDifferentialBorder
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
- fillPattern System.Nullable{System.Byte}
- fillForegroundColor System.String
- fillBackgroundColor System.String
- fontColor System.String
- fontBold System.Nullable{System.Boolean}
- fontItalic System.Nullable{System.Boolean}
- recordType System.UInt16
- recordOffset System.Int32
- border OfficeIMO.Excel.LegacyXls.Model.LegacyXlsDifferentialBorder
- numberFormatId System.Nullable{System.UInt16}
- numberFormatCode System.String
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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.