3-2-16 drawBarcode1D
This method requests the printing of 1D barcode to the image buffer.
[Syntax]
-(long) drawBarcode1D:(NSString*)data
xPosition:(NSInteger)xPostion
yPosition:(NSInteger)yPostion
barcodeType:(NSInteger)barcodeType
widthNarrow:(NSInteger)widthNarrow
widthWide:(NSInteger)widthWide
height:(NSInteger)height
hri:(NSInteger)hri
quietZoneWidth:(NSInteger)quietZoneWidth
rotation:(NSInteger)rotation;
[Parameters]
text
Barcode value to print
xPosition
X coordinate of the position to print
yPosition
Y coordinate of the position to print
barcodeType
Barcode type. (Reference: 2-5 1D Barcode Types)
widthNarrow
Width of narrow bar
widthWide
Width of wide bar
height
Height of barcode
hri
Print position of barcode data value (Human Readable Interpretation)
(Reference: 2-3 Barcode HRI)
rotation
Rotation setting of barcode (Reference: 2-14 Rotation Degrees)
[Return Value]
Upon successful operation, _SDK_RESULT_SUCCESS will be returned.
Refer to the 2-1 Result Codes for more details on other result codes.
[Discussion]
Nothing will be printed when this API is called.
Contents requested by this API will be printed when 3-2-13 doPrint API is called.
[See Also]
2-1 Result Codes
2-5 1D Barcode Types
2-14 Rotation Degrees
2-3 Barcode HRI
3-2-13 doPrint