menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BarcodeGeneratorDisplayTextBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BarcodeGeneratorDisplayTextBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    BarcodeGeneratorDisplayTextBuilder
    Namespace: Syncfusion.EJ2.BarcodeGenerator
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class BarcodeGeneratorDisplayTextBuilder : ControlBuilder

    Constructors

    BarcodeGeneratorDisplayTextBuilder()

    Declaration
    public BarcodeGeneratorDisplayTextBuilder()

    BarcodeGeneratorDisplayTextBuilder(BarcodeGeneratorDisplayText)

    Declaration
    public BarcodeGeneratorDisplayTextBuilder(BarcodeGeneratorDisplayText model)
    Parameters
    Type Name Description
    BarcodeGeneratorDisplayText model

    Methods

    Alignment(Alignment)

    Defines the horizontal alignment of the text. Left - Aligns the text at the left Right - Aligns the text at the Right Center - Aligns the text at the Center

    Declaration
    public BarcodeGeneratorDisplayTextBuilder Alignment(Alignment value)
    Parameters
    Type Name Description
    Alignment value
    Returns
    Type
    BarcodeGeneratorDisplayTextBuilder

    Font(String)

    Defines the font style of the text

    Declaration
    public BarcodeGeneratorDisplayTextBuilder Font(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    BarcodeGeneratorDisplayTextBuilder

    Margin(BarcodeGeneratorMargin)

    Sets the space to be left between the text and its barcode.

    Declaration
    public BarcodeGeneratorDisplayTextBuilder Margin(BarcodeGeneratorMargin value)
    Parameters
    Type Name Description
    BarcodeGeneratorMargin value
    Returns
    Type
    BarcodeGeneratorDisplayTextBuilder

    Margin(Action<BarcodeGeneratorMarginBuilder>)

    Declaration
    public BarcodeGeneratorDisplayTextBuilder Margin(Action<BarcodeGeneratorMarginBuilder> margin)
    Parameters
    Type Name Description
    System.Action<BarcodeGeneratorMarginBuilder> margin
    Returns
    Type
    BarcodeGeneratorDisplayTextBuilder

    Position(TextPosition)

    Defines the position of the text. Bottom - Position the text at the Bottom Top - Position the text at the Top

    Declaration
    public BarcodeGeneratorDisplayTextBuilder Position(TextPosition value)
    Parameters
    Type Name Description
    TextPosition value
    Returns
    Type
    BarcodeGeneratorDisplayTextBuilder

    Size(Double)

    Defines the size of the text.

    Declaration
    public BarcodeGeneratorDisplayTextBuilder Size(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    BarcodeGeneratorDisplayTextBuilder

    Text(String)

    Sets the textual description of the barcode.

    Declaration
    public BarcodeGeneratorDisplayTextBuilder Text(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    BarcodeGeneratorDisplayTextBuilder

    Visibility(Boolean)

    Defines the visibility of the text.

    Declaration
    public BarcodeGeneratorDisplayTextBuilder Visibility(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    BarcodeGeneratorDisplayTextBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved