CaptionParameters

Inheritance: java.lang.Object

public class CaptionParameters

Caption parameters.

Constructors

ConstructorDescription
CaptionParameters()

Methods

MethodDescription
equals(Object arg0)
getAlignment()Caption test horizontal alignment.
getClass()
getFont()Caption font.
getNoWrap()```
Specify word wraps (line breaks) within text.
| [getPadding()](#getPadding--) | Captions paddings. |
| [getStateHash()](#getStateHash--) |  |
| [getText()](#getText--) | Caption text. |
| [getTextColor()](#getTextColor--) | Caption text color. |
| [getVisible()](#getVisible--) | Caption text visibility. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setAlignment(TextAlignment value)](#setAlignment-com.aspose.barcode.generation.TextAlignment-) | Caption test horizontal alignment. |
| [setNoWrap(boolean value)](#setNoWrap-boolean-) | ```
Specify word wraps (line breaks) within text
``` |
| [setPadding(Padding value)](#setPadding-com.aspose.barcode.generation.Padding-) | Captions paddings. |
| [setText(String value)](#setText-java.lang.String-) | Caption text. |
| [setTextColor(int value)](#setTextColor-int-) | Caption text color. |
| [setVisible(boolean value)](#setVisible-boolean-) | Caption text visibility. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### CaptionParameters() {#CaptionParameters--}

public CaptionParameters()



### 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()



Caption test horizontal alignment. Default value: StringAlignment.Center.

**Returns:**
[TextAlignment](../../com.aspose.barcode.generation/textalignment)
### getClass() {#getClass--}

public final native Class getClass()





**Returns:**
java.lang.Class<?>
### getFont() {#getFont--}

public FontUnit getFont()



Caption font. Default value: Arial 8pt regular.

**Returns:**
[FontUnit](../../com.aspose.barcode.generation/fontunit)
### getNoWrap() {#getNoWrap--}

public boolean getNoWrap()

Specify word wraps (line breaks) within text. Default value: false.


**Returns:**
boolean
### getPadding() {#getPadding--}

public Padding getPadding()



Captions paddings. Default value for CaptionAbove: 5pt 5pt 0 5pt. Default value for CaptionBelow: 0 5pt 5pt 5pt.

**Returns:**
[Padding](../../com.aspose.barcode.generation/padding)
### getStateHash() {#getStateHash--}

public int getStateHash()





**Returns:**
int
### getText() {#getText--}

public String getText()



Caption text. Default value: empty string.

**Returns:**
java.lang.String
### getTextColor() {#getTextColor--}

public int getTextColor()



Caption text color. Default value: Color.BLACK.

**Returns:**
int
### getVisible() {#getVisible--}

public boolean getVisible()



Caption text visibility. Default value: false.

**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)



Caption test horizontal alignment. Default value: StringAlignment.CENTER.

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

### setNoWrap(boolean value) {#setNoWrap-boolean-}

public void setNoWrap(boolean value)

Specify word wraps (line breaks) within text


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

### setPadding(Padding value) {#setPadding-com.aspose.barcode.generation.Padding-}

public void setPadding(Padding value)



Captions paddings. Default value for CaptionAbove: 5pt 5pt 0 5pt. Default value for CaptionBelow: 0 5pt 5pt 5pt.

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

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

public void setText(String value)



Caption text. Default value: empty string.

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

### setTextColor(int value) {#setTextColor-int-}

public void setTextColor(int value)



Caption text color. Default value: Color.BLACK.

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

### setVisible(boolean value) {#setVisible-boolean-}

public void setVisible(boolean value)



Caption text visibility. Default value: false.

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

### toString() {#toString--}

public String toString()





**Returns:**
java.lang.String
### 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 |  |