Class ExcelStyle
- Namespace
- The.Office
- Assembly
- Instagile.Office.dll
public record ExcelStyle : IEquatable<ExcelStyle>
- Inheritance
-
ExcelStyle
- Implements
-
- Inherited Members
-
Constructors
public ExcelStyle(bool IsBold = false, bool IsItalic = false, bool ShouldWrap = false, bool ShouldCentre = false, BorderStyleValues? BorderLeft = null, BorderStyleValues? BorderTop = null, BorderStyleValues? BorderRight = null, BorderStyleValues? BorderBottom = null, double FontSize = 11, uint? NumberFormat = null)
Parameters
IsBold bool
IsItalic bool
ShouldWrap bool
ShouldCentre bool
BorderLeft BorderStyleValues?
BorderTop BorderStyleValues?
BorderRight BorderStyleValues?
BorderBottom BorderStyleValues?
FontSize double
NumberFormat uint?
Properties
BorderBottom
public BorderStyleValues? BorderBottom { get; init; }
Property Value
- BorderStyleValues?
BorderLeft
public BorderStyleValues? BorderLeft { get; init; }
Property Value
- BorderStyleValues?
BorderRight
public BorderStyleValues? BorderRight { get; init; }
Property Value
- BorderStyleValues?
BorderTop
public BorderStyleValues? BorderTop { get; init; }
Property Value
- BorderStyleValues?
FontSize
public double FontSize { get; init; }
Property Value
- double
IsBold
public bool IsBold { get; init; }
Property Value
- bool
IsItalic
public bool IsItalic { get; init; }
Property Value
- bool
public uint? NumberFormat { get; init; }
Property Value
- uint?
ShouldCentre
public bool ShouldCentre { get; init; }
Property Value
- bool
ShouldWrap
public bool ShouldWrap { get; init; }
Property Value
- bool
Methods
Default(CellCharacteristics)
public static ExcelStyle Default(CellCharacteristics location)
Parameters
location CellCharacteristics
Returns
- ExcelStyle