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





s
The string to draw.
font
The font.
brush
The brush.
x
The X value of the Left Top point.
y
The Y value of the Left Top point.

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 x As System.Single, _
   ByVal y As System.Single _
) 
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 x As System.Single
Dim y As System.Single
 
instance.DrawString(s, font, brush, x, y)
C# 
public void DrawString( 
   System.string s,
   System.Drawing.Font font,
   System.Drawing.Brush brush,
   System.float x,
   System.float y
)
JScript 
public function DrawString( 
   s : System.String,
   font : System.Drawing.Font,
   brush : System.Drawing.Brush,
   x : System.float,
   y : System.float
);
Managed Extensions for C++ 
public: void DrawString( 
   System.string* s,
   System.Drawing.Font* font,
   System.Drawing.Brush* brush,
   System.float x,
   System.float y
) 
C++/CLI 
public:
void DrawString( 
   System.String^ s,
   System.Drawing.Font^ font,
   System.Drawing.Brush^ brush,
   System.float x,
   System.float y
) 

Parameters

s
The string to draw.
font
The font.
brush
The brush.
x
The X value of the Left Top point.
y
The Y value of the Left Top point.

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.