'Declaration
Public Overloads Shared Function Create( _ ByVal text As String, _ ByVal repeatCharIndex As Integer, _ ByVal repeatChar As Char, _ Optional ByVal displayStyle As DisplayValueStyle, _ Optional ByVal color As FormatColorEnum _ ) As FormatResult
'Usage
Dim text As String Dim repeatCharIndex As Integer Dim repeatChar As Char Dim displayStyle As DisplayValueStyle Dim color As FormatColorEnum Dim value As FormatResult value = FormatResult.Create(text, repeatCharIndex, repeatChar, displayStyle, color)
public static FormatResult Create( string text, int repeatCharIndex, char repeatChar, DisplayValueStyle displayStyle, FormatColorEnum color )
Parameters
- text
- The formatted text.
- repeatCharIndex
- The position of the repeat character in the formatted text.
- repeatChar
- The repeat character to fulfil display space.
- 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.