You are here: Symbol Reference > Stimulsoft.Base.Drawing Namespace > StiControlPaint Class > StiControlPaint Methods > DrawItem Method > DrawItem Method (Graphics, Rectangle, DrawItemState, string, ImageList, int, Font, Color, Color, RightToLeft)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
StiControlPaint.DrawItem Method (Graphics, Rectangle, DrawItemState, string, ImageList, int, Font, Color, Color, RightToLeft)

Draws a list item.

Syntax
C++
C#
Visual Basic
public: void DrawItem( Graphics graphics, Rectangle bounds, DrawItemState state, string text, ImageList imageList, int imageIndex, Font font, Color backColor, Color foreColor, RightToLeft rightToLeft );
Parameters
Parameters 
Description 
graphics 
The Graphics object to draw on. 
bounds 
The bounds that represents the dimensions of the item rectangle. 
state 
Specifies the state of an item that is being drawn. 
text 
The Text of the item. 
imageList 
Specifies the ImageList of an item. 
imageIndex 
Specifies the ImageIndex of an item. 
font 
The Font to draw the item. 
foreColor 
The Color to draw the string with. 
rightToLeft 
Specifies that text is right to left. 
Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.