Example: Font property

This example displays the font name of the range.

  Font font = range.getFont();
  System.out.println(font.getName());

Related information

Font property