com.aspose.barcoderecognition
Class BarCodeReadType

java.lang.Object
  extended by com.aspose.barcoderecognition.BarCodeReadType

public final class BarCodeReadType
extends Object

Specify the type of barcode to read.


 Detect an code39 and Code128 barcode 
 
 [C#]
 BarCodeReader reader;
 BarCodeReader reader;
 reader = new BarCodeReader(@"c:\test.jpg",BarCodeReadType.Code39Standard | BarCodeReadType.Code128);
 while(reader.Read())
 {
 Console.WriteLine("BarCode Type: "+reader.GetReadType());
 Console.WriteLine("BarCode CodeText: " + reader.GetCodeText());
 }
 reader.Close();
 [VB.NET]
 Dim reader As BarCodeReader
 reader = New BarCodeReader("c:\test.jpg",BarCodeReadType.Code39Standard | BarCodeReadType.Code128)
 While reader.Read()
 Console.WriteLine("BarCode Type: " + reader.GetReadType())
 Console.WriteLine("BarCode CodeText: " + reader.GetCodeText())
 End While
 reader.Close()
 


Method Summary
 boolean equals(Object obj)
           Determines whether the specified System.Object is equal to this instance.
static BarCodeReadType fromString(String value)
           Get barcode type to read from the string value.
static BarCodeReadType getAllSupportedTypes()
           Gets all supported types.
static BarCodeReadType getAustraliaPost()
           Gets the australia post.
static BarCodeReadType getAztec()
           Gets the postnet.
static BarCodeReadType getBooklandEAN()
           Gets the bookland EAN.
static BarCodeReadType getCodabar()
           Gets the codabar.
static BarCodeReadType getCode11()
           Gets the code11.
static BarCodeReadType getCode128()
           Gets the code128.
static BarCodeReadType getCode39Extended()
           Gets the code39 extended.
static BarCodeReadType getCode39Standard()
           Gets the code39 standard.
static BarCodeReadType getCode93Extended()
           Gets the code93 extended.
static BarCodeReadType getCode93Standard()
           Gets the code93 standard.
static BarCodeReadType getDataBar()
           Gets the DataBar BarCodeReadType
static BarCodeReadType getDataBarLimited()
           Gets the DataBarLimited BarCodeReadType
static BarCodeReadType getDataMatrix()
           Gets the data matrix.
static BarCodeReadType getDeutschePostIdentcode()
           Gets the DeutschePostIdentcode BarCodeReadType
static BarCodeReadType getDeutschePostLeitcode()
           Gets the DetschePost Leitcode BarCodeReadType
static BarCodeReadType getEAN128()
           Gets the EA N128.
static BarCodeReadType getEAN13()
           Gets the EA N13.
static BarCodeReadType getEAN14()
           Gets the EA N14.
static BarCodeReadType getEAN8()
           Gets the EA n8.
static BarCodeReadType getEmpty()
           Gets an empty type.
static BarCodeReadType getIATA2of5()
           Gets the IATA 2 of 5 BarCodeReadType
static BarCodeReadType getInterleaved2of5()
           Gets the interleaved2of5.
static BarCodeReadType getISSN()
           Gets the ISSN BarCodeReadType
static BarCodeReadType getItalianPost25()
           Gets the Italian Post 25 BarCodeReadType
static BarCodeReadType getITF14()
           Gets the IT F14.
static BarCodeReadType getITF6()
           Gets the ITF6 BarCodeReadType
static BarCodeReadType getMacroPdf417()
           Gets the macro PDF417.
static BarCodeReadType getMatrix2of5()
           Gets the Matrix2of5 BarCodeReadType
static BarCodeReadType getMSI()
           Gets the MSI.
static BarCodeReadType getOneCode()
           Gets the one code.
static BarCodeReadType getOPC()
           Gets the OPC BarCodeReadType
static BarCodeReadType getPatchCode()
           Gets the patch.
static BarCodeReadType getPdf417()
           Gets the PDF417.
static BarCodeReadType getPlanet()
           Gets the planet.
static BarCodeReadType getPostnet()
           Gets the postnet.
static BarCodeReadType getPZN()
           Gets the PZN BarCodeReadType
static BarCodeReadType getQR()
           Gets the QR.
static BarCodeReadType getRM4SCC()
           Gets the RM4SCC BarCodeReadType
static BarCodeReadType getSSCC18()
           Gets the SSC C18.
static BarCodeReadType getStandard2of5()
           Gets the standard2of5.
static BarCodeReadType getSupplement()
           
static BarCodeReadType getUPCA()
           Gets the UPCA.
static BarCodeReadType getUPCE()
           Gets the UPCE.
static BarCodeReadType getVIN()
           Gets the VIN BarCodeReadType
 int hashCode()
           Returns a hash code for this instance.
 boolean isEmpty()
           
 boolean isSupported(BarCodeReadType type)
           
static BarCodeReadType op_BitwiseAnd(BarCodeReadType a, BarCodeReadType b)
           
static BarCodeReadType op_BitwiseAnd(BarCodeReadType a, long b)
           
static BarCodeReadType op_BitwiseAnd(long a, BarCodeReadType b)
           
static BarCodeReadType op_BitwiseOr(BarCodeReadType a, BarCodeReadType b)
           
static BarCodeReadType op_BitwiseOr(BarCodeReadType a, long b)
           
static BarCodeReadType op_BitwiseOr(long a, BarCodeReadType b)
           
static BarCodeReadType op_ExclusiveOr(BarCodeReadType a, BarCodeReadType b)
           
static BarCodeReadType op_ExclusiveOr(BarCodeReadType a, long b)
           
static BarCodeReadType op_ExclusiveOr(long a, BarCodeReadType b)
           
static BarCodeReadType parse(String value)
           Parses the specified value.
static BarCodeReadType parse(String value, boolean ignoreCase)
           Parses the specified value.
static BarCodeReadType toBarCodeReadType(long type)
           
 String toString()
           Returns a T:System.String that represents the current T:System.Object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getRM4SCC

public static BarCodeReadType getRM4SCC()

Gets the RM4SCC BarCodeReadType


getVIN

public static BarCodeReadType getVIN()

Gets the VIN BarCodeReadType


getDeutschePostLeitcode

public static BarCodeReadType getDeutschePostLeitcode()

Gets the DetschePost Leitcode BarCodeReadType


getOPC

public static BarCodeReadType getOPC()

Gets the OPC BarCodeReadType


getITF6

public static BarCodeReadType getITF6()

Gets the ITF6 BarCodeReadType


getAllSupportedTypes

public static BarCodeReadType getAllSupportedTypes()

Gets all supported types.

Value: All supported types.


getEmpty

public static BarCodeReadType getEmpty()

Gets an empty type.

Value: The empty type.


getSupplement

public static BarCodeReadType getSupplement()

getCodabar

public static BarCodeReadType getCodabar()

Gets the codabar.

Value: The codabar.


getCode11

public static BarCodeReadType getCode11()

Gets the code11.

Value: The code11.


getCode128

public static BarCodeReadType getCode128()

Gets the code128.

Value: The code128.


getCode39Extended

public static BarCodeReadType getCode39Extended()

Gets the code39 extended.

Value: The code39 extended.


getCode93Extended

public static BarCodeReadType getCode93Extended()

Gets the code93 extended.

Value: The code93 extended.


getDataMatrix

public static BarCodeReadType getDataMatrix()

Gets the data matrix.

Value: The data matrix.


getEAN13

public static BarCodeReadType getEAN13()

Gets the EA N13.

Value: The EA N13.


getEAN8

public static BarCodeReadType getEAN8()

Gets the EA n8.

Value: The EA n8.


getInterleaved2of5

public static BarCodeReadType getInterleaved2of5()

Gets the interleaved2of5.

Value: The interleaved2of5.


getITF14

public static BarCodeReadType getITF14()

Gets the IT F14.

Value: The IT F14.


getPdf417

public static BarCodeReadType getPdf417()

Gets the PDF417.

Value: The PDF417.


getPlanet

public static BarCodeReadType getPlanet()

Gets the planet.

Value: The planet.


getPostnet

public static BarCodeReadType getPostnet()

Gets the postnet.

Value: The postnet.


getAztec

public static BarCodeReadType getAztec()

Gets the postnet.

Value: The postnet.


getQR

public static BarCodeReadType getQR()

Gets the QR.

Value: The QR.


getUPCA

public static BarCodeReadType getUPCA()

Gets the UPCA.

Value: The UPCA.


getUPCE

public static BarCodeReadType getUPCE()

Gets the UPCE.

Value: The UPCE.


getCode39Standard

public static BarCodeReadType getCode39Standard()

Gets the code39 standard.

Value: The code39 standard.


getCode93Standard

public static BarCodeReadType getCode93Standard()

Gets the code93 standard.

Value: The code93 standard.


getMSI

public static BarCodeReadType getMSI()

Gets the MSI.

Value: The MSI.


getStandard2of5

public static BarCodeReadType getStandard2of5()

Gets the standard2of5.

Value: The standard2of5.


getBooklandEAN

public static BarCodeReadType getBooklandEAN()

Gets the bookland EAN.

Value: The bookland EAN.


getEAN128

public static BarCodeReadType getEAN128()

Gets the EA N128.

Value: The EA N128.


getEAN14

public static BarCodeReadType getEAN14()

Gets the EA N14.

Value: The EA N14.


getSSCC18

public static BarCodeReadType getSSCC18()

Gets the SSC C18.

Value: The SSC C18.


getMacroPdf417

public static BarCodeReadType getMacroPdf417()

Gets the macro PDF417.

Value: The macro PDF417.


getOneCode

public static BarCodeReadType getOneCode()

Gets the one code.

Value: The one code.


getPatchCode

public static BarCodeReadType getPatchCode()

Gets the patch.

Value: The patch.


getAustraliaPost

public static BarCodeReadType getAustraliaPost()

Gets the australia post.

Value: The australia post.


getDataBar

public static BarCodeReadType getDataBar()

Gets the DataBar BarCodeReadType

Value: The data bar.


getDataBarLimited

public static BarCodeReadType getDataBarLimited()

Gets the DataBarLimited BarCodeReadType

Value: The data bar limited.


getMatrix2of5

public static BarCodeReadType getMatrix2of5()

Gets the Matrix2of5 BarCodeReadType


getDeutschePostIdentcode

public static BarCodeReadType getDeutschePostIdentcode()

Gets the DeutschePostIdentcode BarCodeReadType


getPZN

public static BarCodeReadType getPZN()

Gets the PZN BarCodeReadType


getItalianPost25

public static BarCodeReadType getItalianPost25()

Gets the Italian Post 25 BarCodeReadType


getIATA2of5

public static BarCodeReadType getIATA2of5()

Gets the IATA 2 of 5 BarCodeReadType


getISSN

public static BarCodeReadType getISSN()

Gets the ISSN BarCodeReadType


isEmpty

public boolean isEmpty()

isSupported

public boolean isSupported(BarCodeReadType type)

parse

public static BarCodeReadType parse(String value,
                                    boolean ignoreCase)

Parses the specified value.

Parameters:
value - The value.
ignoreCase - if set to true [ignore case].
Returns:

parse

public static BarCodeReadType parse(String value)

Parses the specified value.

Parameters:
value - The value.
Returns:

fromString

public static BarCodeReadType fromString(String value)

Get barcode type to read from the string value.

Parameters:
value - The value.
Returns:

toString

public String toString()

Returns a T:System.String that represents the current T:System.Object.

Overrides:
toString in class Object
Returns:
A T:System.String that represents the current T:System.Object.

hashCode

public int hashCode()

Returns a hash code for this instance.

Overrides:
hashCode in class Object
Returns:
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

equals

public boolean equals(Object obj)

Determines whether the specified System.Object is equal to this instance.

Overrides:
equals in class Object
Parameters:
obj - The System.Object to compare with this instance.
Returns:
true if the specified System.Object is equal to this instance; otherwise, false.
Throws:
T:System.NullReferenceException - The obj parameter is null.

toBarCodeReadType

public static BarCodeReadType toBarCodeReadType(long type)

op_BitwiseOr

public static BarCodeReadType op_BitwiseOr(BarCodeReadType a,
                                           BarCodeReadType b)

op_BitwiseOr

public static BarCodeReadType op_BitwiseOr(BarCodeReadType a,
                                           long b)

op_BitwiseOr

public static BarCodeReadType op_BitwiseOr(long a,
                                           BarCodeReadType b)

op_BitwiseAnd

public static BarCodeReadType op_BitwiseAnd(BarCodeReadType a,
                                            BarCodeReadType b)

op_BitwiseAnd

public static BarCodeReadType op_BitwiseAnd(BarCodeReadType a,
                                            long b)

op_BitwiseAnd

public static BarCodeReadType op_BitwiseAnd(long a,
                                            BarCodeReadType b)

op_ExclusiveOr

public static BarCodeReadType op_ExclusiveOr(BarCodeReadType a,
                                             BarCodeReadType b)

op_ExclusiveOr

public static BarCodeReadType op_ExclusiveOr(BarCodeReadType a,
                                             long b)

op_ExclusiveOr

public static BarCodeReadType op_ExclusiveOr(long a,
                                             BarCodeReadType b)


Copyright (c) 2002-2012 Aspose Pty Ltd. All Rights Reserved.