Class DataMatrixBarcode
Represent a class for DataMatrixBarcode type.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.UI.Xaml.Barcode
Assembly: Syncfusion.Barcode.WinUI.dll
Syntax
public class DataMatrixBarcode : BidimensionalBarcode, INotifyPropertyChanged
Remarks
The DataMatrixBarcodetype supports all 128 full ASCII characters.
Examples
<syncfusion:SfBarcode Width="200" Height="200" Value="Syncfusion">
<syncfusion:SfBarcode.Symbology>
<syncfusion:DataMatrixBarcode/>
</syncfusion:SfBarcode.Symbology>
</syncfusion:SfBarcode>
using Syncfusion.UI.Xaml.Barcode
…
SfBarcode sfBarcode = new SfBarcode();
sfBarcode.Value = "Syncfusion";
sfBarcode.Symbology = new DataMatrixBarcode();
Constructors
DataMatrixBarcode()
Initializes DataMatrixBarcode class.
Declaration
public DataMatrixBarcode()
Properties
Encoding
Gets or sets the encoding type which is used to encode the DataMatrixBarcode data.
Declaration
public DataMatrixEncoding Encoding { get; set; }
Property Value
Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DataMatrixEncoding | The default value is Auto. Fields:
|
Remarks
This property is applicable only for DataMatrixBarcode
MatrixSize
Gets or sets the size that is used to encode the amount of data.
Declaration
public DataMatrixSize MatrixSize { get; set; }
Property Value
Type | Description |
---|---|
DataMatrixSize | The default value is Auto. If the size is set to Size10x10 then the size is square matrix with 10 rows and 10 columns and so on. |
Remarks
This property is applicable only for DataMatrixBarcode. The size is based on matrix.
Implements
System.ComponentModel.INotifyPropertyChanged