This example sets font to be single underline.
Font font = range.getFont(); font.setUnderline(Constant.SYMPHONY_UNDERLINE_SINGLE);
Related information
Underline property