**Inheritance:**
java.lang.Object
```
public class CaptionUI
```

UI wrapper for com.aspose.barcode.generation.CaptionParameters class.
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getAlignment()](#getAlignment--) | Gets the text TextAlignment alignment of the caption. |
| [getClass()](#getClass--) |  |
| [getColor()](#getColor--) | Gets the System.Drawing.Color forecolor of the com.aspose.barcode.generation.CaptionParameters caption. |
| [getFont()](#getFont--) | Gets the System.Drawing.Font font of the Caption caption. |
| [getPadding()](#getPadding--) | Gets caption paddings com.aspose.barcode.generation.Padding . |
| [getText()](#getText--) | Gets the content of the caption. |
| [getVisible()](#getVisible--) | Gets a value indicates whether the com.aspose.barcode.generation.CaptionParameters caption is visible. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setAlignment(TextAlignment value)](#setAlignment-com.aspose.barcode.generation.TextAlignment-) | Sets the text TextAlignment alignment of the caption. |
| [setColor(Color value)](#setColor-java.awt.Color-) | Sets the System.Drawing.Color forecolor of the com.aspose.barcode.generation.CaptionParameters caption. |
| [setFont(Font value)](#setFont-java.awt.Font-) | Gets the System.Drawing.Font font of the Caption caption. |
| [setText(String value)](#setText-java.lang.String-) | Sets the content of the caption. |
| [setVisible(boolean value)](#setVisible-boolean-) | Sets a value indicates whether the com.aspose.barcode.generation.CaptionParameters caption is visible. |
| [toString()](#toString--) | Returns a human-readable string representation of this CaptionUI . |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getAlignment() {#getAlignment--}
```
public TextAlignment getAlignment()
```


Gets the text TextAlignment alignment of the caption.

**Returns:**
[TextAlignment](../../com.aspose.barcode.generation/textalignment)
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getColor() {#getColor--}
```
public Color getColor()
```


Gets the System.Drawing.Color forecolor of the com.aspose.barcode.generation.CaptionParameters caption.

**Returns:**
java.awt.Color
### getFont() {#getFont--}
```
public Font getFont()
```


Gets the System.Drawing.Font font of the Caption caption.

**Returns:**
java.awt.Font
### getPadding() {#getPadding--}
```
public Padding getPadding()
```


Gets caption paddings com.aspose.barcode.generation.Padding .

**Returns:**
[Padding](../../com.aspose.barcode.generation/padding)
### getText() {#getText--}
```
public String getText()
```


Gets the content of the caption.

**Returns:**
java.lang.String
### getVisible() {#getVisible--}
```
public boolean getVisible()
```


Gets a value indicates whether the com.aspose.barcode.generation.CaptionParameters caption is visible.

**Returns:**
boolean
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setAlignment(TextAlignment value) {#setAlignment-com.aspose.barcode.generation.TextAlignment-}
```
public void setAlignment(TextAlignment value)
```


Sets the text TextAlignment alignment of the caption.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [TextAlignment](../../com.aspose.barcode.generation/textalignment) |  |

### setColor(Color value) {#setColor-java.awt.Color-}
```
public void setColor(Color value)
```


Sets the System.Drawing.Color forecolor of the com.aspose.barcode.generation.CaptionParameters caption.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.awt.Color |  |

### setFont(Font value) {#setFont-java.awt.Font-}
```
public void setFont(Font value)
```


Gets the System.Drawing.Font font of the Caption caption.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.awt.Font |  |

### setText(String value) {#setText-java.lang.String-}
```
public void setText(String value)
```


Sets the content of the caption.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setVisible(boolean value) {#setVisible-boolean-}
```
public void setVisible(boolean value)
```


Sets a value indicates whether the com.aspose.barcode.generation.CaptionParameters caption is visible.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### toString() {#toString--}
```
public String toString()
```


Returns a human-readable string representation of this CaptionUI .

**Returns:**
java.lang.String - A string that represents this CaptionUI .
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

