'Declaration
Public Function FormatText( _ ByVal newTextFont As Font, _ ByVal startingIndex As Integer, _ Optional ByVal length As Integer _ ) As FormattedTextList
'Usage
Dim instance As FormattedTextList Dim newTextFont As Font Dim startingIndex As Integer Dim length As Integer Dim value As FormattedTextList value = instance.FormatText(newTextFont, startingIndex, length)
public FormattedTextList FormatText( Font newTextFont, int startingIndex, int length )
Parameters
- newTextFont
- The Font that will be used to format the text.
- startingIndex
- The 0 based index that determines the starting point of the formatting.
- length
The length of the formatted section of text.
If this value is 0, all of the text that follows the startingIndex will be formatted.