Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelCellStyleInfo

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

Immutable style metadata resolved for a cell.

Inheritance

  • object
  • ExcelCellStyleInfo

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

Constructors

public ExcelCellStyleInfo() #

Properties

public uint StyleIndex { get; internal set; } #

Original style index.

public uint NumberFormatId { get; internal set; } #

Number format identifier referenced by the style.

public string? NumberFormatCode { get; internal set; } #

Resolved number format code, when available.

public bool IsDateLike { get; internal set; } #

Whether the number format looks date-like.

public bool Bold { get; internal set; } #

Whether the font is bold.

public bool Italic { get; internal set; } #

Whether the font is italic.

public bool Underline { get; internal set; } #

Whether the font is underlined.

public ExcelUnderlineStyle? UnderlineStyle { get; internal set; } #

Native Excel underline variant, when specified.

public bool Strikethrough { get; internal set; } #

Whether the font uses strikethrough.

public ExcelVerticalTextAlignment? VerticalTextAlignment { get; internal set; } #

Native Excel run baseline, when specified.

public string? FontName { get; internal set; } #

Resolved font family name, when available.

public bool IsFontFamilyExplicit { get; internal set; } #

Whether the font family comes from a non-default cell font or a conditional-format override.

public OfficeLength? FontSize { get; internal set; } #

Physical font size, when specified by the resolved style.

public int? TextRotation { get; internal set; } #

Excel text rotation value from the resolved cell alignment, when specified. Values 0-90 rotate text upward, 91-180 rotate text downward, and 255 represents stacked vertical text.

public string? FontColorArgb { get; internal set; } #

Font color in ARGB hexadecimal form, when directly resolvable.

public string? FillColorArgb { get; internal set; } #

Fill color in ARGB hexadecimal form, when directly resolvable.

public string? FillPatternType { get; internal set; } #

Excel pattern fill type, when the resolved style uses a pattern fill.

public string? FillPatternForegroundColorArgb { get; internal set; } #

Pattern foreground color in ARGB hexadecimal form, when directly resolvable.

public string? FillPatternBackgroundColorArgb { get; internal set; } #

Pattern background color in ARGB hexadecimal form, when directly resolvable.

public bool FillGradientUnsupported { get; internal set; } #

Whether the resolved style uses a gradient fill that image export cannot render exactly yet.

public string? FillGradientStartColorArgb { get; internal set; } #

First simple gradient fill stop color in ARGB hexadecimal form, when directly resolvable.

public string? FillGradientEndColorArgb { get; internal set; } #

Last simple gradient fill stop color in ARGB hexadecimal form, when directly resolvable.

public IReadOnlyList<ExcelGradientFillStopInspectionInfo> FillGradientStops { get; internal set; } #

Linear gradient fill stops in offset order, when directly resolvable.

public double? FillGradientDegree { get; internal set; } #

Simple linear gradient angle in degrees, when directly resolvable.

public string? FontColorHex { get; } #

Font color in RRGGBB hexadecimal form, when directly resolvable.

public string? FillColorHex { get; } #

Fill color in RRGGBB hexadecimal form, when directly resolvable.

public bool HasPdfVisualStyle { get; } #

Whether the snapshot carries simple visual styling that can be mapped into PDF table output.

public ExcelCellBorderInfo? Border { get; internal set; } #

Border metadata resolved for the cell style, when available.

public string? HorizontalAlignment { get; internal set; } #

Horizontal alignment value, when specified.

public string? VerticalAlignment { get; internal set; } #

Vertical alignment value, when specified.

public uint? TextIndent { get; internal set; } #

Indentation level from the resolved cell alignment, when specified.

public bool WrapText { get; internal set; } #

Whether wrap text is enabled.

public bool ShrinkToFit { get; internal set; } #

Whether text should shrink horizontally to fit the rendered cell.