![]() |
Aspose.Barcode for PHP via Java
22.4
Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Static Public Member Functions | |
| static | is1D (int $symbology) |
| static | isPostal (int $symbology) |
| static | is2D (int $symbology) |
| static | containsAny (int $decodeType, array $decodeTypes) |
Public Attributes | |
| const | NONE = -1 |
| const | CODABAR = 0 |
| const | CODE_11 = 1 |
| const | CODE_39_STANDARD = 2 |
| const | CODE_39_EXTENDED = 3 |
| const | CODE_93_STANDARD = 4 |
| const | CODE_93_EXTENDED = 5 |
| const | CODE_128 = 6 |
| const | GS_1_CODE_128 = 7 |
| const | EAN_8 = 8 |
| const | EAN_13 = 9 |
| const | EAN_14 = 10 |
| const | SCC_14 = 11 |
| const | SSCC_18 = 12 |
| const | UPCA = 13 |
| const | UPCE = 14 |
| const | ISBN = 15 |
| const | STANDARD_2_OF_5 = 16 |
| const | INTERLEAVED_2_OF_5 = 17 |
| const | MATRIX_2_OF_5 = 18 |
| const | ITALIAN_POST_25 = 19 |
| const | IATA_2_OF_5 = 20 |
| const | ITF_14 = 21 |
| const | ITF_6 = 22 |
| const | MSI = 23 |
| const | VIN = 24 |
| const | DEUTSCHE_POST_IDENTCODE = 25 |
| const | DEUTSCHE_POST_LEITCODE = 26 |
| const | OPC = 27 |
| const | PZN = 28 |
| const | PHARMACODE = 29 |
| const | DATA_MATRIX = 30 |
| const | GS_1_DATA_MATRIX = 31 |
| const | QR = 32 |
| const | AZTEC = 33 |
| const | PDF_417 = 34 |
| const | MACRO_PDF_417 = 35 |
| const | MICRO_PDF_417 = 36 |
| const | CODABLOCK_F = 65 |
| const | MAILMARK = 66 |
| const | AUSTRALIA_POST = 37 |
| const | POSTNET = 38 |
| const | PLANET = 39 |
| const | ONE_CODE = 40 |
| const | RM_4_SCC = 41 |
| const | DATABAR_OMNI_DIRECTIONAL = 42 |
| const | DATABAR_TRUNCATED = 43 |
| const | DATABAR_LIMITED = 44 |
| const | DATABAR_EXPANDED = 45 |
| const | DATABAR_STACKED_OMNI_DIRECTIONAL = 53 |
| const | DATABAR_STACKED = 54 |
| const | DATABAR_EXPANDED_STACKED = 55 |
| const | PATCH_CODE = 46 |
| const | ISSN = 47 |
| const | ISMN = 48 |
| const | SUPPLEMENT = 49 |
| const | AUSTRALIAN_POSTE_PARCEL = 50 |
| const | SWISS_POST_PARCEL = 51 |
| const | CODE_16_K = 52 |
| const | MICRO_QR = 56 |
| const | COMPACT_PDF_417 = 57 |
| const | GS_1_QR = 58 |
| const | MAXI_CODE = 59 |
| const | MICR_E_13_B = 60 |
| const | CODE_32 = 61 |
| const | DATA_LOGIC_2_OF_5 = 62 |
| const | DOT_CODE = 63 |
| const | DUTCH_KIX = 64 |
| const | TYPES_1D = 67 |
| const | POSTAL_TYPES = 68 |
| const | MOST_COMMON_TYPES = 69 |
| const | TYPES_2D = 70 |
| const | ALL_SUPPORTED_TYPES = 71 |
Specify the type of barcode to read.
This sample shows how to detect Code39 and Code128 barcodes.
|
static |
Determines if the BaseDecodeType array contains specified barcode symbology
| int | $decodeType | specified barcode symbology |
| array | $decodeTypes | the BaseDecodeType array |
| BarcodeException |
|
static |
Determines if the specified BaseDecodeType contains any 1D barcode symbology
| int | $symbology | barcode symbology |
|
static |
Determines if the specified BaseDecodeType contains any 2D barcode symbology
| int | symbology The BaseDecodeType to test. |
|
static |
Determines if the specified BaseDecodeType contains any Postal barcode symbology
| int | symbology The BaseDecodeType to test |
| const DecodeType::ALL_SUPPORTED_TYPES = 71 |
Specifies that data will be checked with all available symbologies
| const DecodeType::AUSTRALIA_POST = 37 |
Specifies that the data should be decoded with { Australia Post} barcode specification
| const DecodeType::AUSTRALIAN_POSTE_PARCEL = 50 |
Specifies that the data should be decoded with { Australian Post Domestic eParcel Barcode} barcode specification
| const DecodeType::AZTEC = 33 |
Specifies that the data should be decoded with { Aztec} barcode specification
| const DecodeType::CODABAR = 0 |
Specifies that the data should be decoded with { CODABAR} barcode specification
| const DecodeType::CODABLOCK_F = 65 |
Specifies that the data should be decoded with { CodablockF} barcode specification
| const DecodeType::CODE_11 = 1 |
Specifies that the data should be decoded with { CODE 11} barcode specification
| const DecodeType::CODE_128 = 6 |
Specifies that the data should be decoded with { CODE 128} barcode specification
| const DecodeType::CODE_16_K = 52 |
Specifies that the data should be decoded with { SCode16K} barcode specification
| const DecodeType::CODE_32 = 61 |
Specifies that the data should be decoded with { Code32} blank specification
| const DecodeType::CODE_39_EXTENDED = 3 |
Specifies that the data should be decoded with { Extended CODE 39} barcode specification
| const DecodeType::CODE_39_STANDARD = 2 |
Specifies that the data should be decoded with { Standard CODE 39} barcode specification
| const DecodeType::CODE_93_EXTENDED = 5 |
Specifies that the data should be decoded with { Extended CODE 93} barcode specification
| const DecodeType::CODE_93_STANDARD = 4 |
Specifies that the data should be decoded with { Standard CODE 93} barcode specification
| const DecodeType::COMPACT_PDF_417 = 57 |
Specifies that the data should be decoded with { CompactPdf417} (Pdf417Truncated) barcode specification
| const DecodeType::DATA_LOGIC_2_OF_5 = 62 |
Specifies that the data should be decoded with { DataLogic 2 of 5} blank specification
| const DecodeType::DATA_MATRIX = 30 |
Specifies that the data should be decoded with { DataMatrix} barcode symbology
| const DecodeType::DATABAR_EXPANDED = 45 |
Specifies that the data should be decoded with { GS1 DATABAR expanded} barcode specification
| const DecodeType::DATABAR_EXPANDED_STACKED = 55 |
Specifies that the data should be decoded with { GS1 DATABAR expanded stacked} barcode specification
| const DecodeType::DATABAR_LIMITED = 44 |
Specifies that the data should be decoded with { GS1 DATABAR limited} barcode specification
| const DecodeType::DATABAR_OMNI_DIRECTIONAL = 42 |
Specifies that the data should be decoded with { GS1 DATABAR omni-directional} barcode specification
| const DecodeType::DATABAR_STACKED = 54 |
Specifies that the data should be decoded with { GS1 DATABAR stacked} barcode specification
| const DecodeType::DATABAR_STACKED_OMNI_DIRECTIONAL = 53 |
Specifies that the data should be decoded with { GS1 DATABAR stacked omni-directional} barcode specification
| const DecodeType::DATABAR_TRUNCATED = 43 |
Specifies that the data should be decoded with { GS1 DATABAR truncated} barcode specification
| const DecodeType::DEUTSCHE_POST_IDENTCODE = 25 |
Specifies that the data should be decoded with { DeutschePost Ident code} barcode specification
| const DecodeType::DEUTSCHE_POST_LEITCODE = 26 |
Specifies that the data should be decoded with { DeutschePost Leit code} barcode specification
| const DecodeType::DOT_CODE = 63 |
Specifies that the data should be decoded with { DotCode} blank specification
| const DecodeType::DUTCH_KIX = 64 |
Specifies that the data should be decoded with { DotCode} blank specification
| const DecodeType::EAN_13 = 9 |
Specifies that the data should be decoded with { EAN-13} barcode specification
| const DecodeType::EAN_14 = 10 |
Specifies that the data should be decoded with { EAN14} barcode specification
| const DecodeType::EAN_8 = 8 |
Specifies that the data should be decoded with { EAN-8} barcode specification
| const DecodeType::GS_1_CODE_128 = 7 |
Specifies that the data should be decoded with { GS1 CODE 128} barcode specification
| const DecodeType::GS_1_DATA_MATRIX = 31 |
Specifies that the data should be decoded with { GS1DataMatrix} barcode symbology
| const DecodeType::GS_1_QR = 58 |
Specifies that the data should be decoded with { GS1 QR} barcode specification
| const DecodeType::IATA_2_OF_5 = 20 |
Specifies that the data should be decoded with { IATA 2 of 5} barcode specification. IATA (International Air Transport Association) uses this barcode for the management of air cargo.
| const DecodeType::INTERLEAVED_2_OF_5 = 17 |
Specifies that the data should be decoded with { INTERLEAVED 2 of 5} barcode specification
| const DecodeType::ISBN = 15 |
Specifies that the data should be decoded with { ISBN} barcode specification
| const DecodeType::ISMN = 48 |
Specifies that the data should be decoded with { ISMN} barcode specification
| const DecodeType::ISSN = 47 |
Specifies that the data should be decoded with { ISSN} barcode specification
| const DecodeType::ITALIAN_POST_25 = 19 |
Specifies that the data should be decoded with { Italian Post 25} barcode specification
| const DecodeType::ITF_14 = 21 |
Specifies that the data should be decoded with { ITF14} barcode specification
| const DecodeType::ITF_6 = 22 |
Specifies that the data should be decoded with { ITF6} barcode specification
| const DecodeType::MACRO_PDF_417 = 35 |
Specifies that the data should be decoded with { MacroPdf417} barcode specification
| const DecodeType::MAILMARK = 66 |
Specifies that the data should be decoded with Royal Mail Mailmark barcode specification.
| const DecodeType::MATRIX_2_OF_5 = 18 |
Specifies that the data should be decoded with { Matrix 2 of 5} barcode specification
| const DecodeType::MAXI_CODE = 59 |
Specifies that the data should be decoded with { MaxiCode} barcode specification
| const DecodeType::MICR_E_13_B = 60 |
Specifies that the data should be decoded with { MICR E-13B} blank specification
| const DecodeType::MICRO_PDF_417 = 36 |
Specifies that the data should be decoded with { MicroPdf417} barcode specification
| const DecodeType::MICRO_QR = 56 |
Specifies that the data should be decoded with { MicroQR Code} barcode specification
| const DecodeType::MOST_COMMON_TYPES = 69 |
Specifies that data will be checked with most commonly used symbologies
| const DecodeType::MSI = 23 |
Specifies that the data should be decoded with { MSI Plessey} barcode specification
| const DecodeType::NONE = -1 |
Unspecified decode type.
| const DecodeType::ONE_CODE = 40 |
Specifies that the data should be decoded with USPS { OneCode} barcode specification
| const DecodeType::OPC = 27 |
Specifies that the data should be decoded with { OPC} barcode specification
| const DecodeType::PATCH_CODE = 46 |
Specifies that the data should be decoded with { Patch code} barcode specification. Barcode symbology is used for automated scanning
| const DecodeType::PDF_417 = 34 |
Specifies that the data should be decoded with { Pdf417} barcode symbology
| const DecodeType::PHARMACODE = 29 |
Specifies that the data should be decoded with { Pharmacode} barcode. This symbology is also known as Pharmaceutical BINARY Code
| const DecodeType::PLANET = 39 |
Specifies that the data should be decoded with { Planet} barcode specification
| const DecodeType::POSTAL_TYPES = 68 |
Specifies that data will be checked with all of 1.5D POSTAL barcode symbologies, like Planet, Postnet, AustraliaPost, OneCode, RM4SCC, DutchKIX
| const DecodeType::POSTNET = 38 |
Specifies that the data should be decoded with { Postnet} barcode specification
| const DecodeType::PZN = 28 |
Specifies that the data should be decoded with { PZN} barcode specification. This symbology is also known as Pharma Zentral Nummer
| const DecodeType::QR = 32 |
Specifies that the data should be decoded with { QR Code} barcode specification
| const DecodeType::RM_4_SCC = 41 |
Specifies that the data should be decoded with { RM4SCC} barcode specification. RM4SCC (Royal Mail 4-state Customer Code) is used for automated mail sort process in UK.
| const DecodeType::SCC_14 = 11 |
Specifies that the data should be decoded with { SCC14} barcode specification
| const DecodeType::SSCC_18 = 12 |
Specifies that the data should be decoded with { SSCC18} barcode specification
| const DecodeType::STANDARD_2_OF_5 = 16 |
Specifies that the data should be decoded with { Standard 2 of 5} barcode specification
| const DecodeType::SUPPLEMENT = 49 |
Specifies that the data should be decoded with { Supplement(EAN2, EAN5)} barcode specification
| const DecodeType::SWISS_POST_PARCEL = 51 |
Specifies that the data should be decoded with { Swiss Post Parcel Barcode} barcode specification
| const DecodeType::TYPES_1D = 67 |
Specifies that data will be checked with all of 1D barcode symbologies
| const DecodeType::TYPES_2D = 70 |
Specifies that data will be checked with all of 2D barcode symbologies
| const DecodeType::UPCA = 13 |
Specifies that the data should be decoded with { UPC-A} barcode specification
| const DecodeType::UPCE = 14 |
Specifies that the data should be decoded with { UPC-E} barcode specification
| const DecodeType::VIN = 24 |
Specifies that the data should be decoded with { VIN} (Vehicle Identification Number) barcode specification