# GoogleSheetsCellStyle

Normalized cell formatting payload used by the compiler output.

Class 

`OfficeIMO.Excel.GoogleSheets`

**Namespace**

`OfficeIMO.Excel.GoogleSheets`

**Assembly**

`OfficeIMO.Excel.GoogleSheets`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[GoogleSheetsRequest.cs:482](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L482)

**Modifiers**

sealed

Normalized cell formatting payload used by the compiler output.

## Inheritance

- object
- GoogleSheetsCellStyle

## Usage

Explore 3 API references to this type

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

### Returned or exposed by 3

- Property [GoogleSheetsAddConditionalFormatRuleRequest.Format](/api/excel-google-sheets/officeimo-excel-googlesheets-googlesheetsaddconditionalformatrulerequest/#property-format)
- Property [GoogleSheetsCellData.Style](/api/excel-google-sheets/officeimo-excel-googlesheets-googlesheetscelldata/#property-style)
- Property [GoogleSheetsTextFormatRun.Format](/api/excel-google-sheets/officeimo-excel-googlesheets-googlesheetstextformatrun/#property-format)

Filter members 

Show inherited

## Constructors

`public GoogleSheetsCellStyle()` [#](#constructor-ctor)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public uint SourceStyleIndex { get; set; }` [#](#property-sourcestyleindex)

[GoogleSheetsRequest.cs:482](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L482)

Gets or sets the source workbook style-table index.

`public uint NumberFormatId { get; set; }` [#](#property-numberformatid)

[GoogleSheetsRequest.cs:484](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L484)

Gets or sets the source number-format identifier.

`public string? NumberFormatCode { get; set; }` [#](#property-numberformatcode)

[GoogleSheetsRequest.cs:486](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L486)

Gets or sets the source number-format code, when available.

`public bool IsDateLike { get; set; }` [#](#property-isdatelike)

[GoogleSheetsRequest.cs:488](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L488)

Gets or sets whether the source number format is date-like.

`public bool Bold { get; set; }` [#](#property-bold)

[GoogleSheetsRequest.cs:490](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L490)

Gets or sets bold formatting.

`public bool Italic { get; set; }` [#](#property-italic)

[GoogleSheetsRequest.cs:492](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L492)

Gets or sets italic formatting.

`public bool Underline { get; set; }` [#](#property-underline)

[GoogleSheetsRequest.cs:494](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L494)

Gets or sets underline formatting.

`public bool Strikethrough { get; set; }` [#](#property-strikethrough)

[GoogleSheetsRequest.cs:496](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L496)

Gets or sets strikethrough formatting.

`public bool StrikethroughSpecified { get; set; }` [#](#property-strikethroughspecified)

[GoogleSheetsRequest.cs:498](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L498)

Gets or sets whether a conditional format explicitly specifies strikethrough, including off.

`public string? FontName { get; set; }` [#](#property-fontname)

[GoogleSheetsRequest.cs:500](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L500)

Gets or sets the font family.

`public double? FontSize { get; set; }` [#](#property-fontsize)

[GoogleSheetsRequest.cs:502](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L502)

Gets or sets the font size.

`public string? FontColorArgb { get; set; }` [#](#property-fontcolorargb)

[GoogleSheetsRequest.cs:504](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L504)

Gets or sets the font color as ARGB text.

`public string? FillColorArgb { get; set; }` [#](#property-fillcolorargb)

[GoogleSheetsRequest.cs:506](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L506)

Gets or sets the fill color as ARGB text.

`public GoogleSheetsCellBorders? Borders { get; set; }` [#](#property-borders)

[GoogleSheetsRequest.cs:508](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L508)

Gets or sets optional cell-border sides.

`public string? HorizontalAlignment { get; set; }` [#](#property-horizontalalignment)

[GoogleSheetsRequest.cs:510](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L510)

Gets or sets horizontal alignment.

`public string? VerticalAlignment { get; set; }` [#](#property-verticalalignment)

[GoogleSheetsRequest.cs:512](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L512)

Gets or sets vertical alignment.

`public bool WrapText { get; set; }` [#](#property-wraptext)

[GoogleSheetsRequest.cs:514](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L514)

Gets or sets whether text wraps within the cell.

`public int? TextRotation { get; set; }` [#](#property-textrotation)

[GoogleSheetsRequest.cs:516](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L516)

Gets or sets the source Excel text-rotation encoding: 0-90 represents positive degrees, 91-180 maps to negative degrees, and 255 means stacked vertical text.

`public uint? TextIndent { get; set; }` [#](#property-textindent)

[GoogleSheetsRequest.cs:518](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L518)

Gets or sets source text indentation.

<!-- PowerForge markdown artifact sha256:767D847C92BDEE147BFE1DD2E5AD020B98F99B0193CA62480D4717411AFE69FA -->
