Determines the font used to draw the barcode captions.
Syntax
public SimpleFont getSimpleFont() public void setSimpleFont(SimpleFont font)where SimpleFont is defined as,
package com.bokai.drawing;
public class SimpleFont
{
public static final int PLAIN = 0;
public static final int BOLD = 1;
public static final int ITALIC = 2;
public SimpleFont(String name, int style, int size);
public int getStyle();
public int getSize();
public String getName();
}
Parameters
font
Specifies the font to be used (default: "SansSerif", plain, 11pt). Note that only the following fonts are supported, "SansSerif", plain, point sizes: 8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24.