API Reference
ExcelCellStyleSnapshot
Immutable style metadata resolved for a cell.
Inheritance
- Object
- ExcelCellStyleSnapshot
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method ExcelCell.GetStyle
- Property ExcelCellSnapshot.Style
- Method ExcelSheet.GetCellStyle
- Property ExcelVisualCell.Style
Constructors
public ExcelCellStyleSnapshot() #Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public UInt32 StyleIndex { get; set; } #Original style index.
public UInt32 NumberFormatId { get; set; } #Number format identifier referenced by the style.
public String NumberFormatCode { get; set; } #Resolved number format code, when available.
public Boolean IsDateLike { get; set; } #Whether the number format looks date-like.
public Boolean Bold { get; set; } #Whether the font is bold.
public Boolean Italic { get; set; } #Whether the font is italic.
public Boolean Underline { get; set; } #Whether the font is underlined.
public String FontName { get; set; } #Resolved font family name, when available.
public Nullable<Double> FontSize { get; set; } #Font size in points, when specified by the resolved style.
public Nullable<Int32> TextRotation { get; 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; set; } #Font color in ARGB hexadecimal form, when directly resolvable.
public String FillColorArgb { get; set; } #Fill color in ARGB hexadecimal form, when directly resolvable.
public String FillPatternType { get; set; } #Excel pattern fill type, when the resolved style uses a pattern fill.
public String FillPatternForegroundColorArgb { get; set; } #Pattern foreground color in ARGB hexadecimal form, when directly resolvable.
public String FillPatternBackgroundColorArgb { get; set; } #Pattern background color in ARGB hexadecimal form, when directly resolvable.
public Boolean FillGradientUnsupported { get; set; } #Whether the resolved style uses a gradient fill that image export cannot render exactly yet.
public String FillGradientStartColorArgb { get; set; } #First simple gradient fill stop color in ARGB hexadecimal form, when directly resolvable.
public String FillGradientEndColorArgb { get; set; } #Last simple gradient fill stop color in ARGB hexadecimal form, when directly resolvable.
public Nullable<Double> FillGradientDegree { get; 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; set; } #Border metadata resolved for the cell style, when available.
public String HorizontalAlignment { get; set; } #Horizontal alignment value, when specified.
public String VerticalAlignment { get; set; } #Vertical alignment value, when specified.
public Boolean WrapText { get; set; } #Whether wrap text is enabled.
public Boolean ShrinkToFit { get; set; } #Whether text should shrink horizontally to fit the rendered cell.