CaptionParameters
Contents
[
Hide
]CaptionParameters class
Module: aspose_barcode.generation.caption_parameters
Caption parameters.
Constructors
| Name | Description |
|---|---|
| init |
Methods
| Name | Return Type | Static | Description |
|---|---|---|---|
| str | str | No | String representation of the CaptionParameters object. |
| font | Optional[FontUnit] | No | Caption font. Default value: Arial 8pt regular. |
Properties
| Name | Type | Description |
|---|---|---|
| alignment | TextAlignment | Caption test horizontal alignment. Default valueAlignment.Center. |
| no_wrap | bool | Specify word wraps (line breaks) within text. |
| padding | Optional[Padding] | Captions paddings. Default value for CaptionAbove: 5pt 5pt 0 5pt. Default value for CaptionBelow: 0 5pt 5pt 5pt. |
| text | Optional[str] | Caption text. Default value: empty string. |
| text_color | Tuple[int, int, int] | Caption text color, representation of an RGB tuple. Default value (0,0,0). |
| visible | bool | Caption text visibility. Default value: false. |