# toBorder set font size

**URL:** <https://forum.inductiveautomation.com/t/toborder-set-font-size/4484>\
**Category:** Ignition\
**Created:** [May 16, 2012, 11:21pm UTC](https://forum.inductiveautomation.com/t/toborder-set-font-size/4484 "2012-05-16T23:21:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ron](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@Ron](https://forum.inductiveautomation.com/u/Ron)\
**Post date:** [May 16, 2012, 11:21pm UTC](https://forum.inductiveautomation.com/t/toborder-set-font-size/4484/1 "2012-05-16T23:21:18Z")

</div>

I am using the toBorder in a binding on a label and want to set the font size from the default 12pt to 11pt. I did not see a font size option in any of the border styles. Is there one?

This is my current binding:  
if({Root Container.ntxtL2BBLs.intValue}=0,  
toBorder(“linetitled;12oz Production Time L2;1;black;center;black;Dialog”),  
toBorder(“linetitled;12oz Production Time L2;1;(255,0,0);center;black;Dialog”))

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [May 17, 2012, 12:01am UTC](https://forum.inductiveautomation.com/t/toborder-set-font-size/4484/2 "2012-05-17T00:01:35Z")

</div>

Yes, like this:

```auto
toBorder("lineTitled;Hello World;1;black;1;2;red;font(Dialog,BoldItalic,14)")
```

on order of arguments that is:

Title  
Line width  
Line color  
Title justification  
Title position  
Font color  
Font

Valid arguments for the middle argument for the font are:  
Plain  
Bold  
Italic  
BoldItalic
