xls_SET FONT PROPERTY

xls_SET FONT PROPERTY(reference;sheet;row;column;fontname;fontsize;fontcolor;fontweight;fontoption;fontunderline;fontfamily;escapement)

Parameter          Type             Description
reference          Longint      ->  Excel handle
sheet              Longint      ->  Sheet number
row                Longint      ->  Row number
column             Longint      ->  Column number
fontname           Text         ->  Font name
fontsize           Longint      ->  Font size (1/20 of a point)
fontcolor          Longint      ->  Font color index
fontweight         Longint      ->  Font weight
fontoption         Longint      ->  Font option
fontunderline      Longint      ->  Font underline
fontfamily         Longint      ->  Font family
escapement         Longint      ->  Escapement

Description

The command xls_SET FONT PROPERTY sets the font property of a cell.

fontsize is the value of 1/20th of a point
fontcolor is an index color:



fontweight use the constants XLS Font Weight Bold or XLS Font Weight Normal
fontoption use the constants XLS Font Bold for bold, XLS Font Italic for italic
fontunderline use the constants XLS Underline None, XLS Underline Single or XLS Underline Double
fontfamily use the constants XLS Font Family Dontcare, XLS Font Family Roman, XLS Font Family Swiss, XLS Font Family Modern, XLS Font Family Script or XLS Font Family Decorative
escapement use the constants XLS Escapement Normal, XLS Escapement Superscript or XLS Escapement Subscript