menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataMatrixBarcode - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DataMatrixBarcode

    Inheritance
    System.Object
    BidimensionalBarcode
    DataMatrixBarcode
    Inherited Members
    BidimensionalBarcode.BackColor
    BidimensionalBarcode.ForeColor
    BidimensionalBarcode.QuietZone
    BidimensionalBarcode.Text
    BidimensionalBarcode.XDimension
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    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
    DataMatrixEncoding

    Size

    Gets or sets the size.

    Declaration
    public DataMatrixSize Size { get; set; }
    Property Value
    Type
    DataMatrixSize

    Methods

    ToBitmap()

    Exports the Data Matrix Barcode as Bitmap. System.Drawing.Bitmap object.

    Declaration
    public Bitmap ToBitmap()
    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved