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
| Field | Description |
|---|---|
| CjkFont | True Type Font for CJK supporting ,default is MS PGothic font. |
| Courier | Courier font. |
| CourierBold | Bold Courier font. |
| CourierBoldOblique | Bold oblique Courier font. |
| CourierOblique | Oblique Curier font. |
| Helvetica | Helvetica font. |
| HelveticaBold | Bold Helvetica font. |
| HelveticaBoldOblique | Bold oblique Helvetica font. |
| HelveticaOblique | Oblique Helvetica font. |
| Symbol | Symbol font. |
| TimesBold | Bold Times font. |
| TimesBoldItalic | Bold italic Times font. |
| TimesItalic | Italic Times font. |
| TimesRoman | Times-Roman font. |
| Unknown | Unknown font. |
| ZapfDingbats | ZapfDingbats font. |
Methods
| Method | Description |
|---|---|
| getValue | |
| valueOf | Returns the enum constant of this type with the specified name. |
| values | Returns 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