menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Code39 - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Code39

    The Code39 is a discrete, variable-length symbology that encodes alphanumeric characters into a series of bars. A special start / stop character is placed at the beginning and ending of each barcode.

    Allows character set of digits (0-9), upper case alphabets (A-Z), and symbols like space, minus (-), plus (+), period (.), dollar sign ($), slash (/), and percent (%).

    Inheritance
    System.Object
    SymbologyBase
    Code39
    Code39Extended
    Inherited Members
    SymbologyBase.Module
    SymbologyBase.ModuleProperty
    Namespace: Syncfusion.Maui.Barcode
    Assembly: Syncfusion.Maui.Barcode.dll
    Syntax
    public class Code39 : SymbologyBase
    Remarks

    Code 39 is self-checking, a check digit is not usually required for common use. For certain cases, applications requiring an extremely high level of accuracy of the checksum digit can be added.

    Constructors

    Code39()

    Initializes a new instance of the Code39 class.

    Declaration
    public Code39()

    Fields

    EnableCheckSumProperty

    Identifies the EnableCheckSum bindable property.

    Declaration
    public static readonly BindableProperty EnableCheckSumProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for EnableCheckSum bindable property.

    Properties

    EnableCheckSum

    Gets or sets a value to indicating whether to add a checksum on the far right side of the barcode.

    Declaration
    public bool EnableCheckSum { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if checksum is calculated; otherwise, false. The default value is true.

    Remarks

    The purpose of the check digit is to verify that the barcode information has been provided correctly.

    Examples
    <barcode:SfBarcodeGenerator Value="123456" ShowText="True">
       <barcode:SfBarcodeGenerator.Symbology>
          <barcode:Code39 EnableCheckSum="False"/>
       </barcode:SfBarcodeGenerator.Symbology>
     </barcode:SfBarcodeGenerator>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved