void LoadBarcode() { barcode = new SFBarcode(); barcode.BackgroundColor = UIColor.FromRGB (242/255.0f, 242/255.0f, 242/255.0f); barcode.Frame = frameRect; barcode.Text = (NSString)"87654321"; barcode.Symbology = SFBarcodeSymbolType.SFBarcodeSymbolTypeCode32; SFCode32Settings settings = new SFCode32Settings(); settings.BarHeight = 80; settings.NarrowBarWidth = 1f; barcode.SymbologySettings = settings; this.AddSubview(barcode); }
void LoadBarcode() { barcode.BackgroundColor = UIColor.FromRGB(242 / 255.0f, 242 / 255.0f, 242 / 255.0f); barcode.Frame = frameRect; barcode.Text = (NSString)"87654321"; barcode.Symbology = SFBarcodeSymbolType.SFBarcodeSymbolTypeCode32; SFCode32Settings settings = new SFCode32Settings(); settings.BarHeight = 80; settings.NarrowBarWidth = 1f; barcode.SymbologySettings = settings; this.AddSubview(barcode); }