StringFormatFlags

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

public final class StringFormatFlags extends System.Enum

Specifies the display and layout information for text strings.

Fields

FieldDescription
DirectionRightToLeftText is displayed from right to left.
DirectionVerticalText is vertically aligned.
DisplayFormatControlControl characters such as the left-to-right mark are shown in the output with a representative glyph.
EnumSeparatorCharArray
FitBlackBoxParts of characters are allowed to overhang the string’s layout rectangle.
LineLimitOnly entire lines are laid out in the formatting rectangle.
MeasureTrailingSpacesIncludes the trailing space at the end of each line.
NoClipOverhanging parts of glyphs, and unwrapped text reaching outside the formatting rectangle are allowed to show.
NoFontFallbackFallback to alternate fonts for characters not supported in the requested font is disabled.
NoWrapText wrapping between lines when formatting within a rectangle is disabled.

Methods

MethodDescription
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()
getNames(System.Type arg0)
getNames(Class arg0)
getUnderlyingType(System.Type arg0)
getUnderlyingType(Class arg0)
getValue(Class arg0, String arg1)
getValues()
getValues(System.Type arg0)
getValues(Class arg0)
get_Caption()
get_Value()
hashCode()
isDefined(System.Type arg0, Object arg1)
isDefined(System.Type arg0, String arg1)
isDefined(System.Type arg0, long arg1)
isDefined(Class arg0, String 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)
toString(long arg0)
wait()
wait(long arg0)
wait(long arg0, int arg1)

DirectionRightToLeft

public static final int DirectionRightToLeft

Text is displayed from right to left.

DirectionVertical

public static final int DirectionVertical

Text is vertically aligned.

DisplayFormatControl

public static final int DisplayFormatControl

Control characters such as the left-to-right mark are shown in the output with a representative glyph.

EnumSeparatorCharArray

public static final char[] EnumSeparatorCharArray

FitBlackBox

public static final int FitBlackBox

Parts of characters are allowed to overhang the string’s layout rectangle. By default, characters are repositioned to avoid any overhang.

LineLimit

public static final int LineLimit

Only entire lines are laid out in the formatting rectangle. By default layout continues until the end of the text, or until no more lines are visible as a result of clipping, whichever comes first. Note that the default settings allow the last line to be partially obscured by a formatting rectangle that is not a whole multiple of the line height. To ensure that only whole lines are seen, specify this value and be careful to provide a formatting rectangle at least as tall as the height of one line.

MeasureTrailingSpaces

public static final int MeasureTrailingSpaces

Includes the trailing space at the end of each line. By default the boundary rectangle returned by the MeasureString method excludes the space at the end of each line. Set this flag to include that space in measurement.

NoClip

public static final int NoClip

Overhanging parts of glyphs, and unwrapped text reaching outside the formatting rectangle are allowed to show. By default all text and glyph parts reaching outside the formatting rectangle are clipped.

NoFontFallback

public static final int NoFontFallback

Fallback to alternate fonts for characters not supported in the requested font is disabled. Any missing characters are displayed with the fonts missing glyph, usually an open square.

NoWrap

public static final int NoWrap

Text wrapping between lines when formatting within a rectangle is disabled. This flag is implied when a point is passed instead of a rectangle, or when the specified rectangle has a zero line length.

Clone()

public System.Enum Clone()

Returns: com.aspose.ms.System.Enum

CloneTo(T arg0)

public abstract void CloneTo(T arg0)

Parameters:

ParameterTypeDescription
arg0T

CloneTo(System.Enum arg0)

public void CloneTo(System.Enum arg0)

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Enum

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

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

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

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1java.lang.Object
arg2java.lang.String

Returns: java.lang.String

format(Class arg0, long arg1, String arg2)

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

Parameters:

ParameterTypeDescription
arg0java.lang.Class
arg1long
arg2java.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:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1java.lang.Object

Returns: java.lang.String

getName(Class arg0, long arg1)

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

Parameters:

ParameterTypeDescription
arg0java.lang.Class
arg1long

Returns: java.lang.String

getNames()

public String[] getNames()

Returns: java.lang.String[]

getNames(System.Type arg0)

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

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type

Returns: java.lang.String[]

getNames(Class arg0)

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

Parameters:

ParameterTypeDescription
arg0java.lang.Class

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

getUnderlyingType(System.Type arg0)

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

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type

Returns: com.aspose.ms.System.Type

getUnderlyingType(Class arg0)

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

Parameters:

ParameterTypeDescription
arg0java.lang.Class

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

getValue(Class arg0, String arg1)

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

Parameters:

ParameterTypeDescription
arg0java.lang.Class
arg1java.lang.String

Returns: long

getValues()

public Long[] getValues()

Returns: java.lang.Long[]

getValues(System.Type arg0)

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

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type

Returns: com.aspose.ms.System.Array

getValues(Class arg0)

public static Long[] getValues(Class<?> arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Class

Returns: java.lang.Long[]

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 arg0, Object arg1)

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

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1java.lang.Object

Returns: boolean

isDefined(System.Type arg0, String arg1)

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

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1java.lang.String

Returns: boolean

isDefined(System.Type arg0, long arg1)

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

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1long

Returns: boolean

isDefined(Class arg0, String arg1)

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

Parameters:

ParameterTypeDescription
arg0java.lang.Class
arg1java.lang.String

Returns: boolean

isDefined(Class arg0, long arg1)

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

Parameters:

ParameterTypeDescription
arg0java.lang.Class
arg1long

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:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1java.lang.String

Returns: long

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

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

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1java.lang.String
arg2java.lang.Boolean

Returns: long

parse(Class arg0, String arg1)

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

Parameters:

ParameterTypeDescription
arg0java.lang.Class
arg1java.lang.String

Returns: long

parse(Class arg0, String arg1, Boolean arg2)

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

Parameters:

ParameterTypeDescription
arg0java.lang.Class
arg1java.lang.String
arg2java.lang.Boolean

Returns: long

register(System.Enum.AbstractEnum arg0)

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

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Enum.AbstractEnum

toObject(System.Type arg0, Object arg1)

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

Parameters:

ParameterTypeDescription
arg0com.aspose.ms.System.Type
arg1java.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:

ParameterTypeDescription
arg0java.lang.Class
arg1long

Returns: java.lang.String

toString(long arg0)

public String toString(long arg0)

Parameters:

ParameterTypeDescription
arg0long

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int