Class XlsxRunFormat
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
The format of a run of text in a cell (Phase 205): what Excel's Characters().Font sets. A property left
null is not stated, and Excel then uses the workbook's default font for it.
public sealed class XlsxRunFormat
- Inheritance
-
XlsxRunFormat
- Inherited Members
Remarks
A run read from a file is written back as the file stated it (a theme colour stays a theme colour) unless a property is changed; a changed format is written from these properties, its colour as RGB.
Constructors
Properties
- Bold
Gets or sets whether the run is bold.
- Color
Gets or sets the colour (
color), resolved through the workbook's theme when read; null for automatic.
- FontName
Gets or sets the font's name (
rFont).
- Italic
Gets or sets whether the run is italic.
- ScriptPosition
Gets or sets whether the run is a superscript or a subscript.
- Size
Gets or sets the size in points (
sz).
- Strike
Gets or sets whether the run is struck through.
- Underline
Gets or sets how the run is underlined.
Methods
- Clone()
Returns a copy, with what it was read from.
- ToString()
Returns the stated properties, such as
Calibri 11 bold #FF0000.