# Format attributes ## Cell attributes table
| Attribute value | Full name | Explanation |
Example value | Aspose method or attribute |
| ct | celltype | Cell value format: text, time, etc. | Cell format | |
| bg | background | background color | #fff000 | setBackgroundColor |
| ff | fontfamily | Font | 0 Microsoft Yahei, 1 Song, 2 ST Heiti, 3 ST Kaiti, 4 ST FangSong, 5 ST Song, 6 Chinese New Wei, 7 Chinese Xingkai, 8 Chinese Lishu, 9 Arial, 10 Times New Roman, 11 Tahoma, 12 Verdana | Style.Font object's Name property. |
| fc | fontcolor | font color | #fff000 | Style.Font object's Color property |
| bl | bold | Bold | 0 Regular, 1 Bold | Style.Font object's IsBold property to true. |
| it | italic | Italic | 0 Regular, 1 Italic | |
| fs | fontsize | font size | 14 | Style.Font object's Size property. |
| cl | cancelline | Cancelline | 0 Regular, 1 Cancelline | Style.Font object's Underline property |
| ul | underline | Underline | 0 Regular, 1 Underline | |
| bs | borderstyle | Border style | 0 none | LineStyle |
| 1 Thin | ||||
| 2 Hair | ||||
| 3 Dotted | ||||
| 4 Dashed | ||||
| 5 DashDot | ||||
| 6 DashDotDot | ||||
| 7 Double | ||||
| 8 Medium | ||||
| 9 MediumDashed | ||||
| 10 MediumDashDot | ||||
| 11 MediumDashDotDot | ||||
| 12 SlantedDashDot | ||||
| 13 Thick | ||||
| bc | bordercolor | Border color | #fff000 | setBorderColor |
| bs_t | borderstyleTop | Top border style | Same as above | |
| bc_t | bordercolorTop | Top border color | ||
| bs_b | borderstyleBottom | Bottom border style | ||
| bc_b | bordercolorBottom | Bottom border color | ||
| bs_l | borderstyleLeft | Left border style | ||
| bc_l | bordercolorLeft | Left border color | ||
| bs_r | borderstyleRight | Right border style | ||
| bc_r | bordercolorRight | Right border color | ||
| vt | verticaltype | Vertical alignment | 0 middle, 1 up, 2 down | setVerticalAlignment |
| ht | horizontaltype | Horizontal alignment | 0 center, 1 left, 2 right | setHorizontalAlignment |
| mc | mergecell | Merge Cells | {rs: 10, cs:5} indicates that the cells from this cell to 10 rows and 5 columns are merged. | Merge |
| tr | textrotate | Text rotation | 0: 0、1: 45 、2: -45、3 Vertical text、4: 90 、5: -90 | setRotationAngle |
| fl | floatlenght | Decimal places | 3 | |
| tb | textbeak | Text wrap | 0 truncation, 1 overflow, 2 word wrap | 2: setTextWrapped 0和1: IsTextWrapped = true |
| ov | originvalue | Original value | ||
| v | value | Display value | ||
| f | function | formula | setFormula setArrayFormula workbook.calculateFormula(); |