HighlightSubstring(Graphics,Font,StringFormat,Brush,Rectangle,String,Brush,String,Int32) Method
In This Topic
Syntax
'Declaration
Public Overloads Shared Sub HighlightSubstring( _
ByVal As Graphics, _
ByVal As Font, _
ByVal As StringFormat, _
ByVal As Brush, _
ByVal As Rectangle, _
ByVal As String, _
ByVal As Brush, _
ByVal As String, _
ByVal As Integer _
)
public static void HighlightSubstring(
Graphics ,
Font ,
StringFormat ,
Brush ,
Rectangle ,
string ,
Brush ,
string ,
int
)
Parameters
- graphics
- font
- stringFormat
- foreBrush
- bounds
- text
- highlightBrush
- substring
- substringStartIndex
See Also