Draws the text of the System.Windows.Forms.ToolTip using the system text color and font, and the specified text layout.
- flags
- A System.Windows.Forms.TextFormatFlags containing a bitwise combination of values that specifies the display and layout for the DrawToolTipEventArgs.ToolTipText.
The DrawToolTipEventArgs.DrawText(TextFormatFlags) method is used to customize certain visual aspects of a System.Windows.Forms.ToolTip, including the layout of the ToolTip text. This method uses the system specified font and the current value of System.Drawing.SystemColors.InfoText for the font color.