An NDoc Documented Class Library

XPThemeManager.DrawThemeText Method 

Draws the text on the graphics surface

public void DrawThemeText(
   Graphics graphics,
   int partId,
   int stateId,
   string text,
   StringFormat format,
   bool enabled,
   Rectangle bounds
);

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
enabled
bounds
The clip bounds for the text

See Also

XPThemeManager Class | XPThemeManager Members | Genghis.Windows.Forms Namespace