API Reference
ExcelCellStyleSnapshot
Immutable style metadata resolved for a cell.
Inheritance
- Object
- ExcelCellStyleSnapshot
Usage
Explore 4 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 4
- Method ExcelCell.GetStyle
- Property ExcelCellSnapshot.Style
- Method ExcelSheet.GetCellStyle
- Property ExcelVisualCell.Style
Constructors
public ExcelCellStyleSnapshot() #Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public UInt32 StyleIndex { get; internal set; } #Original style index.
public UInt32 NumberFormatId { get; internal set; } #Number format identifier referenced by the style.
public String? NumberFormatCode { get; internal set; } #Resolved number format code, when available.
public Boolean IsDateLike { get; internal set; } #Whether the number format looks date-like.
public Boolean Italic { get; internal set; } #Whether the font is italic.
public Boolean Underline { get; internal set; } #Whether the font is underlined.
public ExcelUnderlineStyle? UnderlineStyle { get; internal set; } #Native Excel underline variant, when specified.
public Boolean 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 Boolean IsFontFamilyExplicit { get; internal set; } #Whether the font family comes from a non-default cell font or a conditional-format override.
public Double? FontSize { get; internal set; } #Font size in points, when specified by the resolved style.
public Int32? 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 Boolean 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<ExcelGradientFillStopSnapshot> 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 Boolean HasPdfVisualStyle { get; } #Whether the snapshot carries simple visual styling that can be mapped into PDF table output.
public ExcelCellBorderSnapshot? 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 UInt32? TextIndent { get; internal set; } #Indentation level from the resolved cell alignment, when specified.
public Boolean WrapText { get; internal set; } #Whether wrap text is enabled.
public Boolean ShrinkToFit { get; internal set; } #Whether text should shrink horizontally to fit the rendered cell.