An NDoc Documented Class Library | |
XPThemeManager.GetThemeTextExtent Method (Graphics, Int32, Int32, String, StringFormat, Rectangle)
Gets the text extent for a particular
string when rendered using the theme manager
Parameters
- graphics
- The graphics surface on which to draw
- partId
- The part to draw (see schemadefs.h)
- stateId
- The state to draw (see schemadefs.h)
- text
- The text to measure
- format
- The format of the text
- bounds
- The clip bounds for the text
Return Value
The bounding rectangle for the text on the surface
See Also
XPThemeManager Class | XPThemeManager Members | Genghis.Windows.Forms Namespace | XPThemeManager.GetThemeTextExtent Overload List