menu

Blazor

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

    Show / Hide Table of Contents

    Class BarcodeTextMargin

    Specifies the space to be left from the display text of the barcode.

    Inheritance
    System.Object
    SfBaseComponent
    BarcodeTextMargin
    Inherited Members
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.BarcodeGenerator
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class BarcodeTextMargin : SfBaseComponent
    Examples
    <SfBarcodeGenerator Width="200" Height="150" Value="65213323" Type="BarcodeType.Code11">
     <BarcodeGeneratorDisplayText >
       <BarcodeTextMargin Left = "0" Top="20" Right="0" Bottom="0"></BarcodeTextMargin>
     </BarcodeGeneratorDisplayText>
    </SfBarcodeGenerator>

    Constructors

    BarcodeTextMargin()

    Declaration
    public BarcodeTextMargin()

    Properties

    Bottom

    It sets the space to be left from the bottom side of the display text of the barcode. By default, it is set to 0.

    Declaration
    public double Bottom { get; set; }
    Property Value
    Type
    System.Double

    Left

    It sets the space to be left from the left side of the display text of the barcode. By default, it is set to 0.

    Declaration
    public double Left { get; set; }
    Property Value
    Type
    System.Double

    Right

    It sets the space to be left from the right side of the display text of the barcode. By default, it is set to 0.

    Declaration
    public double Right { get; set; }
    Property Value
    Type
    System.Double

    Top

    It sets the space to be left from the top side of the display text of the barcode. By default, it is set to 0.

    Declaration
    public double Top { get; set; }
    Property Value
    Type
    System.Double

    Methods

    OnInitializedAsync()

    OnInitializedAsync is invoked when the component is initialized.

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

    OnParametersSetAsync()

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

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type
    System.Threading.Tasks.Task
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved