# 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 Times New Roman, 1 Arial, 2 Tahoma, 3 Verdana, 4 Microsoft Yahei, 5 Song, 6 ST Heiti, 7 ST Kaiti, 8 ST FangSong, 9 ST Song, 10 Chinese New Wei, 11 Chinese Xingkai, 12 Chinese Lishu | 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 |
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 |
tb | textbeak | Text wrap | 0 truncation, 1 overflow, 2 word wrap | 2: setTextWrapped 0和1: IsTextWrapped = true |
v | value | Original value | ||
m | monitor | Display value | ||
f | function | formula | setFormula setArrayFormula workbook.calculateFormula(); |