menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Alignment - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved