Skip to main content
Version: Streamsheets 3.0

DRAW.LINE

Define a graphical line.

Syntax

=DRAW.LINE(X1, Y1, X2, Y2, [LineColor])

Arguments

NameTypeDescription
X1NumberX Start Coordinate in 1/100th mm
Y1NumberY Start Coordinate in 1/100th mm
X2NumberX End Coordinate in 1/100th mm
Y2NumberY End Coordinate 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

Return

TypeDescription
BooleanTRUE, if line could be created.

Hint

This function should not be used in a cell

Examples

FormulaResultComment
=DRAW.LINE(47791,940,55332,5279)
TRUEDraw a line.