## CaptionUI.Alignment property

Gets or sets the text [`alignment`](../../../aspose.barcode.generation/textalignment/) of the caption.

```csharp
public TextAlignment Alignment { get; set; }
```

### See Also

* enum [TextAlignment](../../../aspose.barcode.generation/textalignment/)
* class [CaptionUI](../)
* namespace [Aspose.BarCode.Windows.Forms](../../../aspose.barcode.windows.forms/)
* assembly [Aspose.BarCode](../../../)


