You are here: Symbol Reference > Stimulsoft.Base.Drawing Namespace > StiControlPaint Class > StiControlPaint Methods > DrawButton Method
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
StiControlPaint.DrawButton Method

Draws a button control.

Syntax
C++
C#
Visual Basic
public: void DrawButton( Graphics graphics, Rectangle bounds, Image image, bool isPressed, bool isFocused, bool isMouseOverButton, bool enabled, bool flat );
Parameters
Parameters 
Description 
graphics 
The Graphics object to draw on. 
bounds 
The bounds that represents the dimensions of the button. 
image 
Image for draws on button. 
isPressed 
The Button is pressed. 
isFocused 
The Button is focused. 
isMouseOverButton 
Mouse pointer is over the button. 
enabled 
The Button is enabled. 
Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.