ImageMan.Net Version 3 Summer 2012 Release
DrawString(String,Font,Brush,PointF,StringFormat) Method
See Also  Send Feedback
DTI.ImageMan Namespace > ImGraphic Class > DrawString Method : DrawString(String,Font,Brush,PointF,StringFormat) Method





s
The string to draw.
font
The font.
brush
The brush.
point
The Left Top point.
format
The String Format describing how to draw the text.

Glossary Item Box

Draws the string.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub DrawString( _
   ByVal s As System.String, _
   ByVal font As System.Drawing.Font, _
   ByVal brush As System.Drawing.Brush, _
   ByVal point As System.Drawing.PointF, _
   ByVal format As System.Drawing.StringFormat _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImGraphic
Dim s As System.String
Dim font As System.Drawing.Font
Dim brush As System.Drawing.Brush
Dim point As System.Drawing.PointF
Dim format As System.Drawing.StringFormat
 
instance.DrawString(s, font, brush, point, format)
C# 
public void DrawString( 
   System.string s,
   System.Drawing.Font font,
   System.Drawing.Brush brush,
   System.Drawing.PointF point,
   System.Drawing.StringFormat format
)
JScript 
public function DrawString( 
   s : System.String,
   font : System.Drawing.Font,
   brush : System.Drawing.Brush,
   point : System.Drawing.PointF,
   format : System.Drawing.StringFormat
);
Managed Extensions for C++ 
public: void DrawString( 
   System.string* s,
   System.Drawing.Font* font,
   System.Drawing.Brush* brush,
   System.Drawing.PointF point,
   System.Drawing.StringFormat* format
) 
C++/CLI 
public:
void DrawString( 
   System.String^ s,
   System.Drawing.Font^ font,
   System.Drawing.Brush^ brush,
   System.Drawing.PointF point,
   System.Drawing.StringFormat^ format
) 

Parameters

s
The string to draw.
font
The font.
brush
The brush.
point
The Left Top point.
format
The String Format describing how to draw the text.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.