Class QRCodeTextMargin
Specifies the space to be left from the display text of the QRCode.
Inheritance
QRCodeTextMargin
Inherited Members
Namespace: Syncfusion.Blazor.BarcodeGenerator
Assembly: Syncfusion.Blazor.dll
Syntax
public class QRCodeTextMargin : SfBaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
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
[Parameter]
public double Bottom { get; set; }
Property Value
| Type |
|---|
| 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
[Parameter]
public double Left { get; set; }
Property Value
| Type |
|---|
| 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
[Parameter]
public double Right { get; set; }
Property Value
| Type |
|---|
| 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
[Parameter]
public double Top { get; set; }
Property Value
| Type |
|---|
| double |
Methods
OnInitializedAsync()
OnInitializedAsync is invoked when the component is initialized.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type |
|---|
| Task |
Overrides
OnParametersSetAsync()
Sets the parameters for the QRCodeTextMargin component in the render tree.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type |
|---|
| Task |