API.DrawText (String, String, Double, Double, Double, Double, Int32) Method

Adds a text to the current drawing
Public Shared Function DrawText( _ 
ByVal fontname As String, _ 
ByVal text As String, _ 
ByVal x As Double, _ 
ByVal y As Double, _ 
ByVal height As Double, _ 
Optional ByVal angle As Double = 0, _ 
Optional ByVal color As Integer = 258 _ 
) As Object
This language is not supported or no code example is available.
public static object DrawText( 
string fontname
string text
double x
double y
double height
double angle = 0, 
int color = 258 
)
This language is not supported or no code example is available.
public:  
static object^ DrawText( 
String^ fontname
String^ text
double x
double y
double height
double angle
int color 
)
This language is not supported or no code example is available.
public static function DrawText( 
fontname : String
text : String
x : double
y : double
height : double
angle : double
color : int 
) : object;
This language is not supported or no code example is available.

Parameters

fontname
string

Example Arial, bold italic

text
string

x
double

y
double

height
double

angle
double

In degrees

color
int

Return Value

object

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition