Class DotCodeTextMargin
Specifies the space around DotCode display text.
Inheritance
DotCodeTextMargin
Inherited Members
Namespace: Syncfusion.Blazor.BarcodeGenerator
Assembly: Syncfusion.Blazor.BarcodeGenerator.dll
Syntax
public class DotCodeTextMargin : SfBaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
DotCodeTextMargin()
Declaration
public DotCodeTextMargin()
Properties
Bottom
Gets or sets the bottom text margin.
Declaration
[Parameter]
public double Bottom { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The bottom text margin in pixels. |
Left
Gets or sets the left text margin.
Declaration
[Parameter]
public double Left { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The left text margin in pixels. |
Right
Gets or sets the right text margin.
Declaration
[Parameter]
public double Right { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The right text margin in pixels. |
Top
Gets or sets the top text margin.
Declaration
[Parameter]
public double Top { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The top text margin in pixels. |
Methods
OnInitializedAsync()
Initializes the component and updates the margin properties in the parent 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. |