Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BarcodeMargin - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BarcodeMargin

    Specifies the space to be left from the barcode.

    Inheritance
    System.Object
    Syncfusion.Blazor.SfBaseComponent
    BarcodeMargin
    Namespace: Syncfusion.Blazor.BarcodeGenerator
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class BarcodeMargin : SfBaseComponent
    Examples
    <SfBarcodeGenerator Width="200" Height="150" Value="65213323" Type="BarcodeType.Code11" >
       <BarcodeMargin Left = "10" Top="10" Right="10" Bottom="10"></BarcodeMargin>
    </SfBarcodeGenerator>

    Constructors

    BarcodeMargin()

    Declaration
    public BarcodeMargin()

    Properties

    Bottom

    It sets the space to be left from the bottom side of the parent of an element. By default, it is set to 10.

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

    Left

    It sets the space to be left from the left side of the parent of an element. By default, it is set to 10.

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

    Right

    It sets the space to be left from the right side of the parent of an element. By default, it is set to 10.

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

    Top

    It sets the space to be left from the top side of the parent of an element. By default, it is set to 10.

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

    Methods

    OnInitializedAsync()

    OnInitializedAsync is invoked when the component is initialized.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved