Class DataMatrixBarcode
Inheritance
System.Object
DataMatrixBarcode
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
Size
Declaration
public DataMatrixSize Size { get; set; }
Property Value
Methods
ToBitmap()
Exports the Data Matrix Barcode as Bitmap.
System.Drawing.Bitmap object.
Declaration
Returns
Type |
System.Drawing.Bitmap |
ToBitmap(SizeF)
Declaration
public Bitmap ToBitmap(SizeF size)
Parameters
Type |
Name |
Description |
System.Drawing.SizeF |
size |
|
Returns
Type |
System.Drawing.Bitmap |
ToBitmapImage()
Exports the Data Matrix Barcode as BitmapImage.
System.Windows.Media.Imaging.BitmapImage object.
Declaration
public BitmapImage ToBitmapImage()
Returns
Type |
System.Windows.Media.Imaging.BitmapImage |
ToImage()
Exports the Data Matrix Barcode as BitmapImage.
System.Windows.Media.Imaging.BitmapSource object.
Declaration
public BitmapSource ToImage()
Returns
Type |
System.Windows.Media.Imaging.BitmapSource |
ToImage(Size)
Declaration
public BitmapSource ToImage(Size size)
Parameters
Type |
Name |
Description |
System.Windows.Size |
size |
|
Returns
Type |
System.Windows.Media.Imaging.BitmapSource |