Skip to main content
Version: Streamsheets 3.0

DRAW.LABEL

Define a graphical text object.

Syntax

=DRAW.LABEL(X, Y, Width, Height, [LineColor], [FillColor], [Angle], Text)

Arguments

NameTypeDescription
XNumberX Coordinate in 1/100th mm
YNumberY Coordinate in 1/100th mm
WidthNumberWidth in 1/100th mm
HeightNumberHeight in 1/100th mm
LineColor (optional)ColorLine Color Value

Options:
"none": Invisible
"#FFFFFF": White
"#000000": Black
"#FF0000": Red
"#00FF00": Green
"#0000FF": Blue
"#FFFF00": Yellow
"#AAAAAA": Grey

Default value: "Color derived from theme."
FillColor (optional)ColorFill Color Value

Options:
"none": Invisible
"#FFFFFF": White
"#000000": Black
"#FF0000": Red
"#00FF00": Green
"#0000FF": Blue
"#FFFF00": Yellow
"#AAAAAA": Grey

Default value: "Color derived from theme."
Angle (optional)NumberAngle in radians.

Default value: 0
TextStringText to display

Return

TypeDescription
BooleanTRUE, if label could be created.

Hint

This function should not be used in a cell

Examples

FormulaResultComment
=DRAW.LABEL(9684,5318,889,617,,,,"Text")
TRUECreates a label with "Text".