This Symbology is also known as Universal
Product Code version A, UPC-A Supplement 5/Five-digit Add-On, UPC-A Supplement
2/Two-digit Add-On, UPC-A+5, UPC-A+2, UPC Code, UPC Symbol, GTIN-12, GS1-12, UCC-12
qr code font for excel,
how to use barcode scanner in c#,
c# thermal printer barcode,
c# thermal printer barcode,
c# upc barcode generator,
asp net display barcode
- Create a barcode object
- Set barcode properties
- call drawWithView() method, to paint barcode on the canvas.
Sample Code:
- (void)drawRect:(CGRect)rect {
// Drawing code
OBLinear *pLinear = [OBLinear new];
[pLinear setNBarcodeType: OB_CODE128A];
[pLinear setPDataMsg: [[NSString alloc] initWithString: (@"AB")]];
//[pLinear setPSupData: [[NSString alloc] initWithString: (@"14562")]];
[pLinear setFX: USER_DEF_BAR_WIDTH];
[pLinear setFY: USER_DEF_BAR_HEIGHT];
[pLinear setFLeftMargin: (USER_DEF_LEFT_MARGIN)];
[pLinear setFRightMargin: (USER_DEF_RIGHT_MARGIN)];
[pLinear setFTopMargin: (USER_DEF_TOP_MARGIN)];
[pLinear setFBottomMargin: (USER_DEF_BOTTOM_MARGIN)];
[pLinear setNRotate: (OB_Rotate0)];
UIFont *pTextFont = [UIFont fontWithName: @"Arial" size: 8.0f];
[pLinear setPTextFont: pTextFont];
[pLinear drawWithView: (self)];
[pLinear release];
}