[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.FormatResult

FormatResult Struct

Represents the formatting value result.

Namespace: GrapeCity.Spreadsheet
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public struct FormatResult
Public Structure FormatResult

Fields

Name Description
AnyValue

Represents any value which may be formatted.

Failed

Represents an unsuccess format result.

Properties

Name Description
Color

Gets the formatting color.

DisplayStyle

Gets a value indicating whether the formatted text should be displayed as numeric style.

RepeatChar

Gets the repeating character.

RepeatIndex

Gets the position of the repeat character.

RichText

Gets the rich text.

Success

Gets a value indicating whether the formatting process successed.

Text

Gets the formatted text.

UnformattedText

Gets the unformatted text.

Methods

Name Description
Create(RichText)

Creates a formatted result.

Create(string, DisplayValueStyle, FormatColorEnum)

Creates a formatted result.

Create(string, int, char, DisplayValueStyle, FormatColorEnum)

Creates a formatted result with repeat character.

GetDynamicSpacePositions()

Gets the positions of dynamic space characters.

IsEmptyText()

Gets a boolean value indicating whether the display text is empty.

RemoveNewLines()

Removes all newline strings.

RemoveRepeatChar()

Removes the repeat character information.