Hi nikita_zubov,
The snippet below tells how to do:
text.BACKGROUND=1; //0:None 1:Box 2:Shadow 3:Marble
text.FILLCOLOR=3; //1:BLACK 2:RED 3:GREEN, etc.
text.LINEWIDTH=5; //Border line width
Here, "text" is the name of the label object, and you may need to change according to your label.
Sorry, I couldn't find the property to control the line color.
--Hideo Fujii
OriginLab