XpsFontStyle

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

public enum XpsFontStyle extends Enum<XpsFontStyle>

Valid values for font styles.

Fields

Field Description
Regular Normal text.
Bold Bold text.
Italic Italic text.
BoldItalic Bold italic text.

Methods

Method Description
values()
valueOf(String name)

Regular

public static final XpsFontStyle Regular

Normal text.

Bold

public static final XpsFontStyle Bold

Bold text.

Italic

public static final XpsFontStyle Italic

Italic text.

BoldItalic

public static final XpsFontStyle BoldItalic

Bold italic text.

values()

public static XpsFontStyle[] values()

Returns: com.aspose.xps.XpsFontStyle[]

valueOf(String name)

public static XpsFontStyle valueOf(String name)

Parameters:

Parameter Type Description
name java.lang.String

Returns: XpsFontStyle