Class Alignment
Represents the horizontal alignment of the text. By default, it is set to Center.
Inheritance
System.Object
Alignment
Namespace: Syncfusion.Blazor.BarcodeGenerator
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class Alignment : Enum
Examples
<SfBarcodeGenerator Width="200" Height="150" Value="65213323" Type="BarcodeType.Code11" >
<BarcodeGeneratorDisplayText Alignment = "Alignment.Right" >
</BarcodeGeneratorDisplayText>
</SfBarcodeGenerator >
Fields
Center
Align the text to the center side of the barcode element.
Declaration
public const Alignment Center
Field Value
Type |
---|
Alignment |
Left
Align the text to the left side of the barcode element.
Declaration
public const Alignment Left
Field Value
Type |
---|
Alignment |
Right
Align the text to the right side of the barcode element.
Declaration
public const Alignment Right
Field Value
Type |
---|
Alignment |