VerticalAlignment
Leave feedback
On this page
Inheritance: java.lang.Object
public final class VerticalAlignment
Enumeration of possible vertical alignment values.
| Field | Description |
|---|---|
| None | No alignment (use specified position). |
| Top | Align to top. |
| Center | Center alignment. |
| Bottom | Align to bottom. |
| 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. |
public static final int None
No alignment (use specified position).
public static final int Top
Align to top.
public static final int Center
Center alignment.
public static final int Bottom
Align to bottom.
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.
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.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.