Blazor

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class QRCodeTextMargin

    Show / Hide Table of Contents

    Class QRCodeTextMargin

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

    Inheritance
    System.Object
    SfBaseComponent
    QRCodeTextMargin
    Inherited Members
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.BarcodeGenerator
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class QRCodeTextMargin : SfBaseComponent
    Examples
    <SfQRCodeGenerator Width="200" Height="150" Version="QRCodeVersion.Version40" Value="65213323">
     <QRCodeGeneratorDisplayText >
       <QRCodeTextMargin Left = "0" Top="0" Right="0" Bottom="0"></QRCodeTextMargin>
     </QRCodeGeneratorDisplayText>
    </SfQRCodeGenerator>

    Constructors

    QRCodeTextMargin()

    Declaration
    public QRCodeTextMargin()

    Properties

    Bottom

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

    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 display text of the QRCode. By default, it is set to 0.

    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 display text of the QRCode. By default, it is set to 0.

    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 display text of the QRCode. By default, it is set to 0.

    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
    SfBaseComponent.OnInitializedAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved