alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class DataMatrixGeneratorDisplayText

    Specifies the class which contains DataMatrix display text data and functionalities.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    SfBaseComponent
    DataMatrixGeneratorDisplayText
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(bool)
    SfBaseComponent.GetEffectivePlatform()
    SfBaseComponent.GetMainComponentPlatform()
    SfBaseComponent.IsMainLicenseComponent()
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnAfterRenderAsync(bool)
    SfBaseComponent.OnObservableChange(string, object, bool, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicense()
    Namespace: Syncfusion.Blazor.BarcodeGenerator
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class DataMatrixGeneratorDisplayText : SfBaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Examples
    <SfDataMatrixGenerator Width="200" Height="200" Value="65213323" Encoding="DataMatrixEncoding.ASCIINumeric" >
     <DataMatrixGeneratorDisplayText Text="" Font="monospace" Size="25" Alignment="Alignment.Left" Position="TextPosition.Top">
     </DataMatrixGeneratorDisplayText>
    </SfDataMatrixGenerator>

    Constructors

    DataMatrixGeneratorDisplayText()

    Declaration
    public DataMatrixGeneratorDisplayText()

    Properties

    Alignment

    Defines the horizontal alignment of the text. By default, it is set to Center.

    Declaration
    [Parameter]
    public Alignment Alignment { get; set; }
    Property Value
    Type
    Alignment

    ChildContent

    Sets content for data matrix display text element including HTML support and its customizations.

    Declaration
    [Parameter]
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type
    RenderFragment

    Font

    Defines the font style of the text. By default, it is set to monospace.

    Declaration
    [Parameter]
    public string Font { get; set; }
    Property Value
    Type
    string

    Margin

    It sets the space to be left between the text and its DataMatrix. By default, it is set to 0 from all sides.

    Declaration
    [Parameter]
    public DataMatrixTextMargin Margin { get; set; }
    Property Value
    Type
    DataMatrixTextMargin

    Position

    Defines the position of the text. By default, it is set to Bottom.

    Declaration
    [Parameter]
    public TextPosition Position { get; set; }
    Property Value
    Type
    TextPosition

    Size

    Defines the size of the text. By default, it is set to 20.

    Declaration
    [Parameter]
    public double Size { get; set; }
    Property Value
    Type
    double

    Text

    Sets the textual description of the DataMatrix.

    Declaration
    [Parameter]
    public string Text { get; set; }
    Property Value
    Type
    string

    Visibility

    Defines the visibility of the text. By default, it is set to true.

    Declaration
    [Parameter]
    public bool Visibility { get; set; }
    Property Value
    Type
    bool

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    OnInitializedAsync()

    OnInitializedAsync is invoked when the component is initialized.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    Task
    Overrides
    SfBaseComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Sets the parameters for the DataMatrixGeneratorDisplayText component in the render tree.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnParametersSetAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved