'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)
public static FormatResult Create( string text, DisplayValueStyle displayStyle, FormatColorEnum 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.