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

Draws the specified text string.

Syntax
C++
C#
Visual Basic
public: void DrawString( Graphics graphics, string text, Font font, Brush brush, Rectangle layoutRectangle, StringFormat format, float angle );
Parameters
Parameters 
Description 
graphics 
The Graphics object to draw on. 
text 
String to draw. 
font 
Font object that defines the text format of the string. 
brush 
Brush object that determines the color and texture of the drawn text. 
layoutRectangle 
The RectangleF structure that specifies the location of the drawn text. 
format 
The StringFormat object that specifies formatting attributes, such as line spacing and alignment, that are applied to the drawn text. 
angle 
An angle of the text rotation. 
Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.