Class DotCodeExtendedParameters

java.lang.Object
com.aspose.barcode.barcoderecognition.BaseExtendedParameters
com.aspose.barcode.barcoderecognition.DotCodeExtendedParameters

public final class DotCodeExtendedParameters extends BaseExtendedParameters

Stores special data of DotCode recognized barcode

This sample shows how to get DotCode raw values


 BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.DOT_CODE, "12345");
 generator.save("c:\\test.png");

 BarCodeReader reader = new BarCodeReader(@"c:\\test.png", DecodeType.DOT_CODE);
 for (BarCodeResult result : reader.readBarCodes()
 {
      System.out.println("BarCode type: " + result.getCodeTypeName());
      System.out.println("BarCode codetext: " + result.getCodeText());
      System.out.println("DotCode barcode ID: " + result.getExtended().getDotCode().getDotCodeStructuredAppendModeBarcodeId());
      System.out.println("DotCode barcodes count: " + result.getExtended().getDotCode().getDotCodeStructuredAppendModeBarcodesCount());
 }
 

  • Method Details

    • getStructuredAppendModeBarcodesCount

      public final int getStructuredAppendModeBarcodesCount()

      Gets the DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35.

      Value: The count of the DotCode structured append mode barcode.
      Returns:
      the DotCode structured append mode barcodes count.
    • getDotCodeStructuredAppendModeBarcodesCount

      @Deprecated public final int getDotCodeStructuredAppendModeBarcodesCount()
      Deprecated.
      Use StructuredAppendModeBarcodesCount instead

      Gets the DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35.

      Value: The count of the DotCode structured append mode barcode.
      Returns:
      the DotCode structured append mode barcodes count.
    • getStructuredAppendModeBarcodeId

      public final int getStructuredAppendModeBarcodeId()

      Gets the ID of the DotCode structured append mode barcode. ID starts from 1 and must be less or equal to barcodes count. Default value is -1.

      Value: The ID of the DotCode structured append mode barcode.
      Returns:
      the ID of the DotCode structured append mode barcode.
    • getDotCodeStructuredAppendModeBarcodeId

      @Deprecated public final int getDotCodeStructuredAppendModeBarcodeId()
      Deprecated.
      Use StructuredAppendModeBarcodeId instead

      Gets the ID of the DotCode structured append mode barcode. ID starts from 1 and must be less or equal to barcodes count. Default value is -1.

      Value: The ID of the DotCode structured append mode barcode.
      Returns:
      the ID of the DotCode structured append mode barcode.
    • isReaderInitialization

      public final boolean isReaderInitialization()

      Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader. Default value is false.

    • getDotCodeIsReaderInitialization

      @Deprecated public final boolean getDotCodeIsReaderInitialization()
      Deprecated.
      Use IsReaderInitialization instead

      Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader. Default value is false.

    • equals

      public boolean equals(Object obj)

      Returns a value indicating whether this instance is equal to a specified DotCodeExtendedParameters value.

      Overrides:
      equals in class Object
      Parameters:
      obj - An System.Object value to compare to this instance.
      Returns:
      <b>true</b> if obj has the same value as this instance; otherwise, <b>false</b>.
    • op_Equality

      public static boolean op_Equality(DotCodeExtendedParameters first, DotCodeExtendedParameters second)

      Returns a value indicating whether the first DotCodeExtendedParameters value is equal to the second.

      Parameters:
      first - A first compared value
      second - A second compared value
      Returns:
      <b>true</b> if first has the same value as second; otherwise, <b>false</b>.
    • op_Inequality

      public static boolean op_Inequality(DotCodeExtendedParameters first, DotCodeExtendedParameters second)

      Returns a value indicating if the first DotCodeExtendedParameters value is different from the second.

      Parameters:
      first - A first compared value
      second - A second compared value
      Returns:
      <b>true</b> if first has the different value from second; otherwise, <b>false</b>.
    • hashCode

      public int hashCode()

      Returns the hash code for this instance.

      Overrides:
      hashCode in class Object
      Returns:
      A 32-bit signed integer hash code.
    • toString

      public String toString()

      Returns a human-readable string representation of this DotCodeExtendedParameters.

      Overrides:
      toString in class Object
      Returns:
      A string that represents this DotCodeExtendedParameters.