VerticalAlignment

Contents
[ ]

Inheritance: java.lang.Object

public final class VerticalAlignment

Enumeration of possible vertical alignment values.

Fields

Field Description
None No alignment (use specified position).
Top Align to top.
Center Center alignment.
Bottom Align to bottom.

Methods

Method Description
toString(int value) Returns a string representation of the [VerticalAlignment](../../com.groupdocs.watermark.common/verticalalignment) value.
parse(String value) Parses a string to a [VerticalAlignment](../../com.groupdocs.watermark.common/verticalalignment) enumeration value.

None

public static final int None

No alignment (use specified position).

Top

public static final int Top

Align to top.

Center

public static final int Center

Center alignment.

Bottom

public static final int Bottom

Align to bottom.

toString(int value)

public static final String toString(int value)

Returns a string representation of the [VerticalAlignment](../../com.groupdocs.watermark.common/verticalalignment) value.

Parameters:

Parameter Type Description
value int The value to convert.

Returns: java.lang.String - The string representation of the [VerticalAlignment](../../com.groupdocs.watermark.common/verticalalignment) value.

parse(String value)

public static final int parse(String value)

Parses a string to a [VerticalAlignment](../../com.groupdocs.watermark.common/verticalalignment) enumeration value.

Parameters:

Parameter Type Description
value java.lang.String The string to parse.

Returns: int - The [VerticalAlignment](../../com.groupdocs.watermark.common/verticalalignment) enumeration value.