Parameters
- graphics
- The device context.
- font
- The Font of text.
- textFormatFlags
- The text layout information.
- bounds
- The System.Drawing.Rectangle that represents the bounds of the text.
- text
- The text to draw.
- substring
- The substring to highlight.
- substringStartIndex
- The position at which the substring starts.