MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SymbologyBase

    Show / Hide Table of Contents

    Class SymbologyBase

    The SymbologyBase class is to define the barcode symbology that will be used to encode the input value to the visual barcode representation.

    Inheritance
    System.Object
    SymbologyBase
    Codabar
    Code128
    Code39
    Code93
    DataMatrix
    EAN13
    EAN8
    QRCode
    UPCA
    UPCE
    Namespace: Syncfusion.Maui.Barcode
    Assembly: Syncfusion.Maui.Barcode.dll
    Syntax
    public abstract class SymbologyBase : BindableObject

    Constructors

    SymbologyBase()

    Declaration
    protected SymbologyBase()

    Fields

    ModuleProperty

    Identifies the Module bindable property.

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

    The identifier for Module bindable property.

    Properties

    Module

    Gets or sets a value to specify the size of the smallest line or dot of the barcode.

    Declaration
    public int Module { get; set; }
    Property Value
    Type Description
    System.Int32

    The default value is 0. This property is measured in logical pixels.

    Remarks

    For one dimensional barcode, if this property is not set, the size of the smallest bar line is determined depending on the width available.

    For two dimensional barcode , if the Module property is not set, the size of smallest dot is calculated based on the minimum of available width or height.

    Examples
    <barcode:SfBarcodeGenerator Value="123456" ShowText="True">
       <barcode:SfBarcodeGenerator.Symbology>
          <barcode:UPCE Module = "2" />
       </barcode:SfBarcodeGenerator.Symbology>
     </barcode:SfBarcodeGenerator>
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved