Barcodes
Hello,
Is it possible to generate a barcode into a c# bitmap object using fast report.net or can bitmaps only be created in a report?
Thanks,
- Anthony
Is it possible to generate a barcode into a c# bitmap object using fast report.net or can bitmaps only be created in a report?
Thanks,
- Anthony
Comments
You may export your report that contain barcodes, into the image file (bmp, png, ...). Is this what you want?
Well, it would be prefered to be a memory bitmap, the situation is there's a report with barcodes on, and this report has a matching document in another piece of software, my software can open these files and past images into it and I'd like to be able to paste a barcode on the document (using code) so it can be matched to the report.
Here's a snip of the type of code I'd like to be able to use
BarcodeGenerator Barcode = new Barcode("123456789");
Barcode.Symbiology = "Code39";
Bitmap barcodeImage = (Bitmap)Barcode.GetImage();
//Copy the barcode image into Clipboard
Clipboard.SetDataObject(barcodeImage);
Then I can paste it from the clipboard into the app.
I'd really like to avoid using temp files, if the above is not possible, hwo about the ability to have a Report.GetOutputAsBitmaps() which returns a report as an array of Bitmaps, then I can make a small report into memory bitmap?
Many thanks,
- anthony
Next question,
I don't think fast reports supports Databar barcodes, one of which (Databar Expanded), in a small amount of space can fit 41 alphanumeric characters! (or 74 digits!)
http://mdn.morovia.com/manuals/databar-fontware/ch02s02.php
They provide free sample software (with c source code) here:
http://www.gs1.org/barcodes/databar/software
(http://www.gs1.org/sites/default/files/docs/barcodes/databar/GS1_DataBar_Software.zip)
Would it be possible to build support in for fast reports?
If not, is code128 the most compact barcode?
Many thanks,
- Anthony
no problem, but could you tell me which barcode that fast report supports fits most data into a small space? I think code128 is compact, but are any other's better?
- Anthony
You may look at 2D barcodes such as PDF417 and DataMatrix.