Click or drag to resize

ZebraGraphicsDrawLine Method

Draws a line from/to the specified coordinates.

Namespace:  Zebra.Sdk.Card.Graphics
Assembly:  SdkApi_Card_Desktop (in SdkApi_Card_Desktop.dll) Version: 2.14.1989
Syntax
void DrawLine(
	PointF start,
	PointF end,
	float lineThickness,
	Color lineColor
)

Parameters

start
Type: System.DrawingPointF
The x and y coordinates of the start point.
end
Type: System.DrawingPointF
The x and y coordinates of the end point.
lineThickness
Type: SystemSingle
The line thickness.
lineColor
Type: System.DrawingColor
The line color.
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf there is an error with the provided arguments.
ZebraCardExceptionIf an error occurs while rendering the line.
See Also