Example: Bold property

This example sets the font to be bold.

  Font font = range.getFont();
  font.setbold(true);

Related information

Bold property