FontStyle

Inheritance: java.lang.Object, java.lang.Enum < FontStyle > com.aspose.pdf.facades.FontStyle, java.lang.Enum < FontStyle >, com.aspose.pdf.facades.FontStyle

All Implemented Interfaces: Serializable, Comparable < FontStyle >

public enum FontStyle extends Enum < FontStyle >

Enumerates 14 types of font.

Fields

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

Methods

MethodDescription
getValue
valueOfReturns the enum constant of this type with the specified name.
valuesReturns an array containing the constants of this enum type, in the order they are declared.

CjkFont

public static final FontStyle CjkFont

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

Courier

public static final FontStyle Courier

Courier font.

CourierBold

public static final FontStyle CourierBold

Bold Courier font.

CourierBoldOblique

public static final FontStyle CourierBoldOblique

Bold oblique Courier font.

CourierOblique

public static final FontStyle CourierOblique

Oblique Curier font.

Helvetica

public static final FontStyle Helvetica

Helvetica font.

HelveticaBold

public static final FontStyle HelveticaBold

Bold Helvetica font.

HelveticaBoldOblique

public static final FontStyle HelveticaBoldOblique

Bold oblique Helvetica font.

HelveticaOblique

public static final FontStyle HelveticaOblique

Oblique Helvetica font.

Symbol

public static final FontStyle Symbol

Symbol font.

TimesBold

public static final FontStyle TimesBold

Bold Times font.

TimesBoldItalic

public static final FontStyle TimesBoldItalic

Bold italic Times font.

TimesItalic

public static final FontStyle TimesItalic

Italic Times font.

TimesRoman

public static final FontStyle TimesRoman

Times-Roman font.

Unknown

public static final FontStyle Unknown

Unknown font.

ZapfDingbats

public static final FontStyle ZapfDingbats

ZapfDingbats font.

getValue

public int getValue()

valueOf

Returns the enum constant of this type with the specified name.

values

public static FontStyle [] values()

Returns an array containing the constants of this enum type, in the order they are declared.

Returns: an array containing the constants of this enum type, in the order they are declared