API Reference
ExcelStyleDefinition
Declares a complete cell style based on the workbook's Normal style, without requiring a source cell. Definitions are copied when a named style or tabular export is created.
Inheritance
- Object
- ExcelStyleDefinition
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
- Property ExcelTabularWriteOptions.Styles
Accepted by parameters
Constructors
public ExcelStyleDefinition() #Inherited Methods
Properties
public Boolean Bold { get; set; } #Displays text in bold.
public Boolean Italic { get; set; } #Displays text in italics.
public Nullable<ExcelUnderlineStyle> Underline { get; set; } #Optional underline treatment.
public String FontName { get; set; } #Optional font family; null keeps the Normal font.
public Nullable<Double> FontSize { get; set; } #Optional positive finite font size in points.
public Nullable<OfficeColor> FontColor { get; set; } #Optional font color.
public Nullable<OfficeColor> BackgroundColor { get; set; } #Optional solid background color.
public Boolean WrapText { get; set; } #Wraps text within the cell.
public Nullable<ExcelHorizontalAlignment> HorizontalAlignment { get; set; } #Optional horizontal alignment.
public Nullable<ExcelVerticalAlignment> VerticalAlignment { get; set; } #Optional vertical alignment.
public String NumberFormat { get; set; } #Optional Excel number-format code. Null allows tabular writers to select a temporal format for dates and durations while preserving the other declared properties.