Class SymbologyBase
The SymbologyBase class is to define the barcode symbology that will be used to encode the input value to the visual barcode representation.
Inheritance
System.Object
SymbologyBase
Namespace: Syncfusion.Maui.Barcode
Assembly: Syncfusion.Maui.Barcode.dll
Syntax
public abstract class SymbologyBase : BindableObject
Constructors
SymbologyBase()
Declaration
protected SymbologyBase()
Fields
ModuleProperty
Identifies the Module bindable property.
Declaration
public static readonly BindableProperty ModuleProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for Module bindable property. |
Properties
Module
Gets or sets a value to specify the size of the smallest line or dot of the barcode.
Declaration
public int Module { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The default value is |
Remarks
For one dimensional barcode, if this property is not set, the size of the smallest bar line is determined depending on the width available.
For two dimensional barcode , if the Module property is not set, the size of smallest dot is calculated based on the minimum of available width or height.
Examples
<barcode:SfBarcodeGenerator Value="123456" ShowText="True">
<barcode:SfBarcodeGenerator.Symbology>
<barcode:UPCE Module = "2" />
</barcode:SfBarcodeGenerator.Symbology>
</barcode:SfBarcodeGenerator>