Click or drag to resize
TemporaryGraphicCollectionDrawText Method (Vector3, String, Single, Color, Color, Vector2, Boolean)
Creates a text markup.

Namespace:  ABB.Robotics.RobotStudio.Stations.Forms
Assembly:  ABB.Robotics.RobotStudio.Stations (in ABB.Robotics.RobotStudio.Stations.dll) Version: 7.0.8747.636
Syntax
C#
public TemporaryGraphic DrawText(
	Vector3 start,
	string text,
	float fontSize,
	Color backgroundColor,
	Color textColor,
	Vector2 textOffset,
	bool arrow
)

Parameters

start
Type: ABB.Robotics.MathVector3
The 3D position that the text is anchored to.
text
Type: SystemString
The text to display.
fontSize
Type: SystemSingle
Font size
backgroundColor
Type: System.DrawingColor
Background color
textColor
Type: System.DrawingColor
Text color
textOffset
Type: ABB.Robotics.MathVector2
Offset (in pixels) from the anchor point to the lower left corner of the text box.
arrow
Type: SystemBoolean
Draw an arrow between the anchor point and the text box

Return Value

Type: TemporaryGraphic
Version Information

Supported in: 1.0.0.0
See Also