Package com.idautomation.linear.encoder
Class barCodeEncoder
java.lang.Object
com.idautomation.linear.encoder.barCodeEncoder
This is the class that actually saves the image of the BarCode class.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionbarCodeEncoder(com.idautomation.linear.BarCode c, String psFormat, String psFile) Constructor used to save an image of the current state of the BarCode object. -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeImage(com.idautomation.linear.BarCode c, String psFormat, String psFile) Has the same functionality as the constructor, can be used to encode images without the need to reinstantiate the barCodeEncoder object.
-
Field Details
-
result
public boolean result
-
-
Constructor Details
-
barCodeEncoder
Constructor used to save an image of the current state of the BarCode object.- Parameters:
c- BarCode object.psFormat- format to save the image as a "GIF" or "JPEG"psFile- Name of the saved image file, "Test.gif"- See Also:
-
barCodeEncoder
public barCodeEncoder()
-
-
Method Details
-
encodeImage
Has the same functionality as the constructor, can be used to encode images without the need to reinstantiate the barCodeEncoder object.- Parameters:
c- BarCode object.psFormat- format to save the image as a "GIF", "JPEG", "PNG"psFile- Name of the saved image file, "Test.gif"- See Also:
-