Table of Contents

Class ExcelStyle

Namespace
The.Office
Assembly
Instagile.Office.dll
public record ExcelStyle : IEquatable<ExcelStyle>
Inheritance
ExcelStyle
Implements
Inherited Members

Constructors

ExcelStyle(bool, bool, bool, bool, BorderStyleValues, BorderStyleValues, BorderStyleValues, BorderStyleValues, double, uint?)

public ExcelStyle(bool IsBold = false, bool IsItalic = false, bool ShouldWrap = false, bool ShouldCentre = false, BorderStyleValues BorderLeft = BorderStyleValues.None, BorderStyleValues BorderTop = BorderStyleValues.None, BorderStyleValues BorderRight = BorderStyleValues.None, BorderStyleValues BorderBottom = BorderStyleValues.None, 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

NumberFormat

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