FontStyle

Inheritance: java.lang.Object, java.lang.Enum

public enum FontStyle extends Enum<FontStyle>

Enumerates 14 types of font.

Fields

FieldDescription
CourierCourier font.
CourierBoldBold Courier font.
CourierObliqueOblique Curier font.
CourierBoldObliqueBold oblique Courier font.
HelveticaHelvetica font.
HelveticaBoldBold Helvetica font.
HelveticaObliqueOblique Helvetica font.
HelveticaBoldObliqueBold oblique Helvetica font.
SymbolSymbol font.
TimesRomanTimes-Roman font.
TimesBoldBold Times font.
TimesItalicItalic Times font.
TimesBoldItalicBold italic Times font.
ZapfDingbatsZapfDingbats font.
UnknownUnknown font.
CjkFontTrue Type Font for CJK supporting ,default is MS PGothic font.

Methods

MethodDescription
values()
valueOf(String name)
getValue()

Courier

public static final FontStyle Courier

Courier font.

CourierBold

public static final FontStyle CourierBold

Bold Courier font.

CourierOblique

public static final FontStyle CourierOblique

Oblique Curier font.

CourierBoldOblique

public static final FontStyle CourierBoldOblique

Bold oblique Courier font.

Helvetica

public static final FontStyle Helvetica

Helvetica font.

HelveticaBold

public static final FontStyle HelveticaBold

Bold Helvetica font.

HelveticaOblique

public static final FontStyle HelveticaOblique

Oblique Helvetica font.

HelveticaBoldOblique

public static final FontStyle HelveticaBoldOblique

Bold oblique Helvetica font.

Symbol

public static final FontStyle Symbol

Symbol font.

TimesRoman

public static final FontStyle TimesRoman

Times-Roman font.

TimesBold

public static final FontStyle TimesBold

Bold Times font.

TimesItalic

public static final FontStyle TimesItalic

Italic Times font.

TimesBoldItalic

public static final FontStyle TimesBoldItalic

Bold italic Times font.

ZapfDingbats

public static final FontStyle ZapfDingbats

ZapfDingbats font.

Unknown

public static final FontStyle Unknown

Unknown font. Standard font will be used.

CjkFont

public static final FontStyle CjkFont

True Type Font for CJK supporting ,default is MS PGothic font.

values()

public static FontStyle[] values()

Returns: com.aspose.pdf.facades.FontStyle[]

valueOf(String name)

public static FontStyle valueOf(String name)

Parameters:

ParameterTypeDescription
namejava.lang.String

Returns: FontStyle

getValue()

public int getValue()

Returns: int