Table of Contents

Struct XlsxFormattedText

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

The text a number format gives a value, and what the format says about showing it.

public readonly struct XlsxFormattedText : IEquatable<XlsxFormattedText>
Implements
Inherited Members

Properties

Color

Gets the colour the format's section names ([Red], [Color5]), or null when it names none.

IsFill

Gets whether the section has a * fill: a character Excel repeats until the cell is full. The text holds the repeats only when a column width was given.

IsOverflow

Gets whether the value cannot be shown: a date out of range, a negative date in the 1900 system, or a value wider than the column that was given. Excel fills such a cell with #, and Text is that run.

Text

Gets the text. Never null.

Methods

Equals(XlsxFormattedText)
Equals(object?)
GetHashCode()
ToString()

Returns Text.

Operators

operator ==(XlsxFormattedText, XlsxFormattedText)

Compares two results.

operator !=(XlsxFormattedText, XlsxFormattedText)

Compares two results.