FontStyle
Contents
[
Hide
]Inheritance: java.lang.Object, java.lang.Enum
public enum FontStyle extends Enum<FontStyle>
Enumerates 14 types of font.
Fields
Field | Description |
---|---|
Courier | Courier font. |
CourierBold | Bold Courier font. |
CourierOblique | Oblique Curier font. |
CourierBoldOblique | Bold oblique Courier font. |
Helvetica | Helvetica font. |
HelveticaBold | Bold Helvetica font. |
HelveticaOblique | Oblique Helvetica font. |
HelveticaBoldOblique | Bold oblique Helvetica font. |
Symbol | Symbol font. |
TimesRoman | Times-Roman font. |
TimesBold | Bold Times font. |
TimesItalic | Italic Times font. |
TimesBoldItalic | Bold italic Times font. |
ZapfDingbats | ZapfDingbats font. |
Unknown | Unknown font. |
CjkFont | True Type Font for CJK supporting ,default is MS PGothic font. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: FontStyle
getValue()
public int getValue()
Returns: int