EmfTextAlignmentModeFlags

Contents
[ ]

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

public final class EmfTextAlignmentModeFlags extends System.Enum

TextAlignmentMode Flags specify the relationship between a reference point and a bounding rectangle, for text alignment. These flags can be combined to specify multiple options, with the restriction that only one flag can be chosen that alters the drawing position in the playback device context. Horizontal text alignment is performed when the font has a horizontal default baseline.


TextAlignmentMode flags specify three different components of text alignment: - The horizontal position of the reference point is determined by TA_RIGHT and TA_CENTER; if those bits are clear, the alignment MUST be TA_LEFT. - The vertical position of the reference point is determined by TA_BOTTOM and TA_BASELINE; if those bits are clear, the alignment MUST be TA_TOP. - Whether to update the output position in the playback device context after text output is determined by TA_UPDATECP; if that bit is clear, the position MUST NOT be updated. This is the reason for defining three different zero values in the enumeration; they represent the default states of the three components of text alignment.

Fields

Field Description
EnumSeparatorCharArray
TA_BASELINE The reference point MUST be on the baseline of the text.
TA_BOTTOM The reference point MUST be on the bottom edge of the bounding rectangle.
TA_CENTER The reference point MUST be aligned horizontally with the center of the bounding rectangle.
TA_LEFT The reference point MUST be on the left edge of the bounding rectangle.
TA_NOUPDATECP The drawing position in the playback device context MUST NOT be updated after each text output call.
TA_RIGHT The reference point MUST be on the right edge of the bounding rectangle.
TA_RTLREADING The text MUST be laid out in right-to-left reading order, instead of the default left-to right order.
TA_TOP The reference point MUST be on the top edge of the bounding rectangle.
TA_UPDATECP The drawing position in the playback device context MUST be updated after each text output call.

Methods

Method Description
Clone()
CloneTo(T arg0)
CloneTo(System.Enum arg0)
equals(Object arg0)
format(System.Type arg0, Object arg1, String arg2)
format(Class arg0, long arg1, String arg2)
getClass()
getName(System.Type arg0, Object arg1)
getName(Class arg0, long arg1)
getNames(System.Type arg0)
getNames(Class arg0)
getUnderlyingType(System.Type arg0)
getUnderlyingType(Class arg0)
getValue(Class arg0, String arg1)
getValues(System.Type arg0)
get_Value()
hashCode()
isDefined(System.Type arg0, Object arg1)
isDefined(System.Type arg0, String arg1)
isDefined(System.Type arg0, long arg1)
isDefined(Class arg0, long arg1)
notify()
notifyAll()
parse(System.Type arg0, String arg1)
parse(System.Type arg0, String arg1, Boolean arg2)
parse(Class arg0, String arg1)
parse(Class arg0, String arg1, Boolean arg2)
register(System.Enum.AbstractEnum arg0)
toObject(System.Type arg0, Object arg1)
toString()
toString(Class arg0, long arg1)
wait()
wait(long arg0)
wait(long arg0, int arg1)

EnumSeparatorCharArray

public static final char[] EnumSeparatorCharArray

TA_BASELINE

public static final long TA_BASELINE

The reference point MUST be on the baseline of the text.

TA_BOTTOM

public static final long TA_BOTTOM

The reference point MUST be on the bottom edge of the bounding rectangle.

TA_CENTER

public static final long TA_CENTER

The reference point MUST be aligned horizontally with the center of the bounding rectangle.

TA_LEFT

public static final long TA_LEFT

The reference point MUST be on the left edge of the bounding rectangle.

TA_NOUPDATECP

public static final long TA_NOUPDATECP

The drawing position in the playback device context MUST NOT be updated after each text output call. The reference point MUST be passed to the text output function.

TA_RIGHT

public static final long TA_RIGHT

The reference point MUST be on the right edge of the bounding rectangle.

TA_RTLREADING

public static final long TA_RTLREADING

The text MUST be laid out in right-to-left reading order, instead of the default left-to right order. This SHOULD be applied only when the font that is defined in the playback device context is either Hebrew or Arabic.

TA_TOP

public static final long TA_TOP

The reference point MUST be on the top edge of the bounding rectangle.

TA_UPDATECP

public static final long TA_UPDATECP

The drawing position in the playback device context MUST be updated after each text output call. It MUST be used as the reference point.

Clone()

public System.Enum Clone()

Returns: com.aspose.ms.System.Enum

CloneTo(T arg0)

public abstract void CloneTo(T arg0)

Parameters:

Parameter Type Description
arg0 T

CloneTo(System.Enum arg0)

public void CloneTo(System.Enum arg0)

Parameters:

Parameter Type Description
arg0 com.aspose.ms.System.Enum

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

format(System.Type arg0, Object arg1, String arg2)

public static String format(System.Type arg0, Object arg1, String arg2)

Parameters:

Parameter Type Description
arg0 com.aspose.ms.System.Type
arg1 java.lang.Object
arg2 java.lang.String

Returns: java.lang.String

format(Class arg0, long arg1, String arg2)

public static String format(Class<?> arg0, long arg1, String arg2)

Parameters:

Parameter Type Description
arg0 java.lang.Class
arg1 long
arg2 java.lang.String

Returns: java.lang.String

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getName(System.Type arg0, Object arg1)

public static String getName(System.Type arg0, Object arg1)

Parameters:

Parameter Type Description
arg0 com.aspose.ms.System.Type
arg1 java.lang.Object

Returns: java.lang.String

getName(Class arg0, long arg1)

public static String getName(Class<?> arg0, long arg1)

Parameters:

Parameter Type Description
arg0 java.lang.Class
arg1 long

Returns: java.lang.String

getNames(System.Type arg0)

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

Parameters:

Parameter Type Description
arg0 com.aspose.ms.System.Type

Returns: java.lang.String[]

getNames(Class arg0)

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

Parameters:

Parameter Type Description
arg0 java.lang.Class

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

getUnderlyingType(System.Type arg0)

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

Parameters:

Parameter Type Description
arg0 com.aspose.ms.System.Type

Returns: com.aspose.ms.System.Type

getUnderlyingType(Class arg0)

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

Parameters:

Parameter Type Description
arg0 java.lang.Class

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

getValue(Class arg0, String arg1)

public static long getValue(Class<?> arg0, String arg1)

Parameters:

Parameter Type Description
arg0 java.lang.Class
arg1 java.lang.String

Returns: long

getValues(System.Type arg0)

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

Parameters:

Parameter Type Description
arg0 com.aspose.ms.System.Type

Returns: com.aspose.ms.System.Array

get_Value()

public long get_Value()

Returns: long

hashCode()

public native int hashCode()

Returns: int

isDefined(System.Type arg0, Object arg1)

public static boolean isDefined(System.Type arg0, Object arg1)

Parameters:

Parameter Type Description
arg0 com.aspose.ms.System.Type
arg1 java.lang.Object

Returns: boolean

isDefined(System.Type arg0, String arg1)

public static boolean isDefined(System.Type arg0, String arg1)

Parameters:

Parameter Type Description
arg0 com.aspose.ms.System.Type
arg1 java.lang.String

Returns: boolean

isDefined(System.Type arg0, long arg1)

public static boolean isDefined(System.Type arg0, long arg1)

Parameters:

Parameter Type Description
arg0 com.aspose.ms.System.Type
arg1 long

Returns: boolean

isDefined(Class arg0, long arg1)

public static boolean isDefined(Class<?> arg0, long arg1)

Parameters:

Parameter Type Description
arg0 java.lang.Class
arg1 long

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

parse(System.Type arg0, String arg1)

public static long parse(System.Type arg0, String arg1)

Parameters:

Parameter Type Description
arg0 com.aspose.ms.System.Type
arg1 java.lang.String

Returns: long

parse(System.Type arg0, String arg1, Boolean arg2)

public static long parse(System.Type arg0, String arg1, Boolean arg2)

Parameters:

Parameter Type Description
arg0 com.aspose.ms.System.Type
arg1 java.lang.String
arg2 java.lang.Boolean

Returns: long

parse(Class arg0, String arg1)

public static long parse(Class<?> arg0, String arg1)

Parameters:

Parameter Type Description
arg0 java.lang.Class
arg1 java.lang.String

Returns: long

parse(Class arg0, String arg1, Boolean arg2)

public static long parse(Class<?> arg0, String arg1, Boolean arg2)

Parameters:

Parameter Type Description
arg0 java.lang.Class
arg1 java.lang.String
arg2 java.lang.Boolean

Returns: long

register(System.Enum.AbstractEnum arg0)

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

Parameters:

Parameter Type Description
arg0 com.aspose.ms.System.Enum.AbstractEnum

toObject(System.Type arg0, Object arg1)

public static Object toObject(System.Type arg0, Object arg1)

Parameters:

Parameter Type Description
arg0 com.aspose.ms.System.Type
arg1 java.lang.Object

Returns: java.lang.Object

toString()

public String toString()

Returns: java.lang.String

toString(Class arg0, long arg1)

public static String toString(Class<?> arg0, long arg1)

Parameters:

Parameter Type Description
arg0 java.lang.Class
arg1 long

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int