Méthode | Description | |
---|---|---|
encode ( String contents, BarcodeFormat format, int width, int height, object>.IDictionary |
Encode the contents following specified format. {@code width} and {@code height} are required size. This method may return bigger size {@code BitMatrix} when specified size is too small. The user can set both {@code width} and {@code height} to zero to get minimum size barcode. If negative value is set to {@code width} or {@code height}, {@code IllegalArgumentException} is thrown.
|
|
encode ( String contents ) : bool[] |
Encode the contents to byte array expression of one-dimensional barcode. Start code and end code should be included in result, and side margins should not be included.
|
Méthode | Description | |
---|---|---|
toIntArray ( int a, int toReturn ) : void |
public encode ( String contents, BarcodeFormat format, int width, int height, object>.IDictionary |
||
contents | String | |
format | BarcodeFormat | |
width | int | |
height | int | |
hints | object>.IDictionary | |
Résultat |