Click or drag to resize

ZebraCardGraphicsDrawText Method (String, Font, Color, Int32, Int32)

Draws the text at the specified x and y coordinates.

Namespace:  Zebra.Sdk.Card.Graphics
Assembly:  SdkApi_Card_Desktop (in SdkApi_Card_Desktop.dll) Version: 2.14.1989
Syntax
public void DrawText(
	string text,
	Font font,
	Color color,
	int x,
	int y
)

Parameters

text
Type: SystemString
The text to be drawn.
font
Type: System.DrawingFont
The font type.
color
Type: System.DrawingColor
The text color.
x
Type: SystemInt32
The x coordinate.
y
Type: SystemInt32
The y coordinate.

Implements

ZebraGraphicsDrawText(String, Font, Color, Int32, Int32)
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf there is an error with the provided arguments.
ZebraCardExceptionIf an error occurs while rendering the text.
See Also