Class DotCodeMargin
Specifies the space around a DotCode symbol.
Inheritance
DotCodeMargin
Inherited Members
Namespace: Syncfusion.Blazor.BarcodeGenerator
Assembly: Syncfusion.Blazor.BarcodeGenerator.dll
Syntax
public class DotCodeMargin : SfBaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
DotCodeMargin()
Declaration
public DotCodeMargin()
Properties
Bottom
Gets or sets the bottom margin.
Declaration
[Parameter]
public double Bottom { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The bottom margin in pixels. |
Left
Gets or sets the left margin.
Declaration
[Parameter]
public double Left { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The left margin in pixels. |
Right
Gets or sets the right margin.
Declaration
[Parameter]
public double Right { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The right margin in pixels. |
Top
Gets or sets the top margin.
Declaration
[Parameter]
public double Top { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The top margin in pixels. |
Methods
OnInitializedAsync()
Initializes the component and updates the margin properties in the parent display-text component.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A task that represents the asynchronous initialization operation. |
Overrides
OnParametersSetAsync()
Processes parameter updates and refreshes the parent barcode component during static server rendering when a property change is detected.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type | Description |
|---|---|
| Task | A task that represents the asynchronous parameter update operation. |