FontStyle

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class FontStyle extends System.Enum

Specifies style information applied to text.

Constructors

ConstructorDescription
FontStyle()

Fields

FieldDescription
BOLDBold text
EnumSeparatorCharArray
ITALICItalic text
REGULARNormal text
STRIKEOUTText with a line through the middle
UNDERLINEUnderlined text

Methods

MethodDescription
Clone()
CloneTo(T that)
CloneTo(System.Enum that)
equals(Object arg0)
format(System.Type enumType, Object value, String format)
format(Class enumType, long value, String format)
getClass()
getName(System.Type enumType, Object value)
getName(Class enumType, long value)
getNames(System.Type enumType)
getNames(Class enumType)
getUnderlyingType(System.Type enumType)
getUnderlyingType(Class enumType)
getValue(Class enumType, String name)
getValues(System.Type enumType)
get_Caption()
get_Value()
hashCode()
isDefined(System.Type enumType, Object value)
isDefined(System.Type enumType, String value)
isDefined(System.Type enumType, long value)
isDefined(Class enumType, long value)
notify()
notifyAll()
parse(System.Type enumType, String value)
parse(System.Type enumType, String value, Boolean ignoreCase)
parse(Class enumType, String value)
parse(Class enumType, String value, Boolean ignoreCase)
register(System.Enum.AbstractEnum e)
toObject(System.Type enumType, Object value)
toString()
toString(Class enumType, long value)
wait()
wait(long arg0)
wait(long arg0, int arg1)

FontStyle()

public FontStyle()

BOLD

public static final int BOLD

Bold text

EnumSeparatorCharArray

public static final char[] EnumSeparatorCharArray

ITALIC

public static final int ITALIC

Italic text

REGULAR

public static final int REGULAR

Normal text

STRIKEOUT

public static final int STRIKEOUT

Text with a line through the middle

UNDERLINE

public static final int UNDERLINE

Underlined text

Clone()

public System.Enum Clone()

Returns: com.aspose.ms.System.Enum

CloneTo(T that)

public abstract void CloneTo(T that)

Parameters:

ParameterTypeDescription
thatT

CloneTo(System.Enum that)

public void CloneTo(System.Enum that)

Parameters:

ParameterTypeDescription
thatcom.aspose.ms.System.Enum

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

format(System.Type enumType, Object value, String format)

public static String format(System.Type enumType, Object value, String format)

Parameters:

ParameterTypeDescription
enumTypecom.aspose.ms.System.Type
valuejava.lang.Object
formatjava.lang.String

Returns: java.lang.String

format(Class enumType, long value, String format)

public static String format(Class<?> enumType, long value, String format)

Parameters:

ParameterTypeDescription
enumTypejava.lang.Class
valuelong
formatjava.lang.String

Returns: java.lang.String

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getName(System.Type enumType, Object value)

public static String getName(System.Type enumType, Object value)

Parameters:

ParameterTypeDescription
enumTypecom.aspose.ms.System.Type
valuejava.lang.Object

Returns: java.lang.String

getName(Class enumType, long value)

public static String getName(Class<?> enumType, long value)

Parameters:

ParameterTypeDescription
enumTypejava.lang.Class
valuelong

Returns: java.lang.String

getNames(System.Type enumType)

public static String[] getNames(System.Type enumType)

Parameters:

ParameterTypeDescription
enumTypecom.aspose.ms.System.Type

Returns: java.lang.String[]

getNames(Class enumType)

public static Collection<String> getNames(Class<?> enumType)

Parameters:

ParameterTypeDescription
enumTypejava.lang.Class

Returns: java.util.Collection<java.lang.String>

getUnderlyingType(System.Type enumType)

public static System.Type getUnderlyingType(System.Type enumType)

Parameters:

ParameterTypeDescription
enumTypecom.aspose.ms.System.Type

Returns: com.aspose.ms.System.Type

getUnderlyingType(Class enumType)

public static Class<? extends Number> getUnderlyingType(Class<?> enumType)

Parameters:

ParameterTypeDescription
enumTypejava.lang.Class

Returns: java.lang.Class<? extends java.lang.Number>

getValue(Class enumType, String name)

public static long getValue(Class<?> enumType, String name)

Parameters:

ParameterTypeDescription
enumTypejava.lang.Class
namejava.lang.String

Returns: long

getValues(System.Type enumType)

public static System.Array getValues(System.Type enumType)

Parameters:

ParameterTypeDescription
enumTypecom.aspose.ms.System.Type

Returns: com.aspose.ms.System.Array

get_Caption()

public String get_Caption()

Returns: java.lang.String

get_Value()

public long get_Value()

Returns: long

hashCode()

public native int hashCode()

Returns: int

isDefined(System.Type enumType, Object value)

public static boolean isDefined(System.Type enumType, Object value)

Parameters:

ParameterTypeDescription
enumTypecom.aspose.ms.System.Type
valuejava.lang.Object

Returns: boolean

isDefined(System.Type enumType, String value)

public static boolean isDefined(System.Type enumType, String value)

Parameters:

ParameterTypeDescription
enumTypecom.aspose.ms.System.Type
valuejava.lang.String

Returns: boolean

isDefined(System.Type enumType, long value)

public static boolean isDefined(System.Type enumType, long value)

Parameters:

ParameterTypeDescription
enumTypecom.aspose.ms.System.Type
valuelong

Returns: boolean

isDefined(Class enumType, long value)

public static boolean isDefined(Class<?> enumType, long value)

Parameters:

ParameterTypeDescription
enumTypejava.lang.Class
valuelong

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

parse(System.Type enumType, String value)

public static long parse(System.Type enumType, String value)

Parameters:

ParameterTypeDescription
enumTypecom.aspose.ms.System.Type
valuejava.lang.String

Returns: long

parse(System.Type enumType, String value, Boolean ignoreCase)

public static long parse(System.Type enumType, String value, Boolean ignoreCase)

Parameters:

ParameterTypeDescription
enumTypecom.aspose.ms.System.Type
valuejava.lang.String
ignoreCasejava.lang.Boolean

Returns: long

parse(Class enumType, String value)

public static long parse(Class<?> enumType, String value)

Parameters:

ParameterTypeDescription
enumTypejava.lang.Class
valuejava.lang.String

Returns: long

parse(Class enumType, String value, Boolean ignoreCase)

public static long parse(Class<?> enumType, String value, Boolean ignoreCase)

Parameters:

ParameterTypeDescription
enumTypejava.lang.Class
valuejava.lang.String
ignoreCasejava.lang.Boolean

Returns: long

register(System.Enum.AbstractEnum e)

public static void register(System.Enum.AbstractEnum e)

Parameters:

ParameterTypeDescription
ecom.aspose.ms.System.Enum.AbstractEnum

toObject(System.Type enumType, Object value)

public static Object toObject(System.Type enumType, Object value)

Parameters:

ParameterTypeDescription
enumTypecom.aspose.ms.System.Type
valuejava.lang.Object

Returns: java.lang.Object

toString()

public String toString()

Returns: java.lang.String

toString(Class enumType, long value)

public static String toString(Class<?> enumType, long value)

Parameters:

ParameterTypeDescription
enumTypejava.lang.Class
valuelong

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int