Class DataMatrixBarcode
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.UI.Xaml.Controls.Barcode
Assembly: Syncfusion.SfBarcode.WPF.dll
Syntax
public class DataMatrixBarcode : BidimensionalBarcode
Constructors
DataMatrixBarcode()
Initializes DataMatrixBarcode class.
Declaration
public DataMatrixBarcode()
DataMatrixBarcode(String)
Initializes DataMatrixBarcode class.
Declaration
public DataMatrixBarcode(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Data to be converted as barcode. |
Properties
Encoding
Gets or sets the encoding.
Declaration
public DataMatrixEncoding Encoding { get; set; }
Property Value
Type | Description |
---|---|
DataMatrixEncoding |
Size
Gets or sets the size.
Declaration
public DataMatrixSize Size { get; set; }
Property Value
Type | Description |
---|---|
DataMatrixSize |
Methods
ToBitmap()
Exports the Data Matrix Barcode as Bitmap.
Declaration
public Bitmap ToBitmap()
Returns
Type | Description |
---|---|
System.Drawing.Bitmap |
ToBitmap(SizeF)
Declaration
public Bitmap ToBitmap(SizeF size)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.SizeF | size |
Returns
Type | Description |
---|---|
System.Drawing.Bitmap |
ToBitmapImage()
Exports the Data Matrix Barcode as BitmapImage.
Declaration
public BitmapImage ToBitmapImage()
Returns
Type | Description |
---|---|
System.Windows.Media.Imaging.BitmapImage |
ToImage()
Exports the Data Matrix Barcode as BitmapImage.
Declaration
public BitmapSource ToImage()
Returns
Type | Description |
---|---|
System.Windows.Media.Imaging.BitmapSource |
ToImage(Size)
Declaration
public BitmapSource ToImage(Size size)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | size |
Returns
Type | Description |
---|---|
System.Windows.Media.Imaging.BitmapSource |