Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / FormatResult Structure / Create Method / Create(String,DisplayValueStyle,FormatColorEnum) Method
The formatted text.
A DisplayValueStyle value indicates how's text displayed.
The color of the formatted text.


In This Topic
    Create(String,DisplayValueStyle,FormatColorEnum) Method
    In This Topic
    Creates a formatted result.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Create( _
       ByVal text As String, _
       Optional ByVal displayStyle As DisplayValueStyle, _
       Optional ByVal color As FormatColorEnum _
    ) As FormatResult
    'Usage
     
    
    Dim text As String
    Dim displayStyle As DisplayValueStyle
    Dim color As FormatColorEnum
    Dim value As FormatResult
     
    value = FormatResult.Create(text, displayStyle, color)

    Parameters

    text
    The formatted text.
    displayStyle
    A DisplayValueStyle value indicates how's text displayed.
    color
    The color of the formatted text.

    Return Value

    A FormatResult value represents the formatted result.
    See Also