Show / Hide Table of Contents

Class BarcodeItemUtils

Provides some utilities related to BarcodeItem objects.

Inheritance
System.Object
BarcodeItemUtils
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: Neodynamic.SDK.Printing
Assembly: cs.temp.dll.dll
Syntax
public class BarcodeItemUtils

Methods

GenerateSampleCode(BarcodeSymbology)

Generates a sample value to encode (code) based on the specified symbology.

Declaration
public static string GenerateSampleCode(BarcodeSymbology symbology)
Parameters
Type Name Description
BarcodeSymbology symbology

The barcode symbology.

Returns
Type Description
System.String

Returns a sample value to encode (code) based on the specified symbology.

GetAustraliaPost4StateBarcodeChecksum(String)

It computes the checksum (Reed Solomon codewords) for an Australia Post 4 State code.

Declaration
public static string GetAustraliaPost4StateBarcodeChecksum(string code)
Parameters
Type Name Description
System.String code

An Australia Post 4 State code.

Returns
Type Description
System.String

The checksum (Reed Solomon codewords) for an Australia Post 4 State code.

GetAustraliaPostDomesticEParcelChecksum(String)

It computes the checksum for an Australia Post Domestic eParcel code.

Declaration
public static int GetAustraliaPostDomesticEParcelChecksum(string code)
Parameters
Type Name Description
System.String code

An Australia Post Domestic eParcel code.

Returns
Type Description
System.Int32

The checksum for an Australia Post Domestic eParcel code.

GetCode39Checksum(String)

It computes the checksum Modulus 43 used by Code 39 barcode.

Declaration
public static string GetCode39Checksum(string code)
Parameters
Type Name Description
System.String code

The Code 39 value.

Returns
Type Description
System.String

The checksum Modulus 43 used by Code 39 barcode.

GetCode93Checksum(String)

It computes the two-char checksum Modulus 47 used by Code 93 barcode.

Declaration
public static string GetCode93Checksum(string code)
Parameters
Type Name Description
System.String code

The Code 93 value.

Returns
Type Description
System.String

The two-char checksum Modulus 47 used by Code 93 barcode.

GetModulus10Checksum(String)

It computes the checksum Modulus 10 used by many barcode symbologies.

Declaration
public static int GetModulus10Checksum(string code)
Parameters
Type Name Description
System.String code

The code where the checksum will be computed on.

Returns
Type Description
System.Int32

The checksum Modulus 10.

Back to top Copyright © 2003- Neodynamic SRL
http://www.neodynamic.com