Example #1
0
        void LoadBarcode()
        {
            barcode.BackgroundColor = UIColor.FromRGB(242 / 255.0f, 242 / 255.0f, 242 / 255.0f);
            barcode.Frame           = frameRect;
            barcode.Text            = (NSString)"G71C0453";
            barcode.Symbology       = SFBarcodeSymbolType.SFBarcodeSymbolTypeCode39Extended;
            SFCode39ExtendedSettings settings = new SFCode39ExtendedSettings();

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