Class DataMatrixMargin
Specifies the space to be left from the DataMatrix.
Inheritance
DataMatrixMargin
Inherited Members
Namespace: Syncfusion.Blazor.BarcodeGenerator
Assembly: Syncfusion.Blazor.dll
Syntax
public class DataMatrixMargin : SfBaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Examples
<SfDataMatrixGenerator Width="200" Height="150" Value="65213323" Encoding="DataMatrixEncoding.ASCIINumeric" >
<DataMatrixMargin Left = "10" Top="10" Right="10" Bottom="10"></DataMatrixMargin>
</SfDataMatrixGenerator>
Constructors
DataMatrixMargin()
Declaration
public DataMatrixMargin()
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
[Parameter]
public double Bottom { get; set; }
Property Value
| Type |
|---|
| 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
[Parameter]
public double Left { get; set; }
Property Value
| Type |
|---|
| 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
[Parameter]
public double Right { get; set; }
Property Value
| Type |
|---|
| 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
[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 |