- s
The string to add.
- family
A System.Drawing.FontFamily that represents the name of the font with which the test is drawn.
- style
A System.Drawing.FontStyle enumeration that represents style information about the text (bold, italic, and so on). This must be cast as an integer (see the example code later in this section).
- emSize
The height of the em square box that bounds the character.
- origin
A System.Drawing.PointF that represents the point where the text starts.
- format
A System.Drawing.StringFormat that specifies text formatting information, such as line spacing and alignment.