How to: save barcode to a file.
4 posts • Page 1 of 1
How to: save barcode to a file.
Hi,
Can someone please advice on how to save the barcode to a file from the ASP code. using the ActiveX control.
Thanks,
Vibhu
Can someone please advice on how to save the barcode to a file from the ASP code. using the ActiveX control.
Thanks,
Vibhu
- vibhu(legacy Member)
Re: How to: save barcode to a file.
do you want to save the barcode image (JPEG, BMP ...) to the disk or save the barcode file (and load it later)? If you are looking for exporting the image to a disk file, use the ExportImage method. For the latter, see the documentation on the Save method.
Dim objBarcode
Set objBarcode = Server.CreateObject("Morovia.BarcodeActiveX")
...
objBarcode.ExportImage("c:\test.jpg", 1)
Dim objBarcode
Set objBarcode = Server.CreateObject("Morovia.BarcodeActiveX")
...
objBarcode.ExportImage("c:\test.jpg", 1)
- glitch (legacy member)
Re: How to: save barcode to a file.
Hi,
Thanks for the reply. I want to save the image to a folder and load it later. I saw the save method. it just gave the syntax on how to save.
Is that enough??
Thanks a lot,
Vibhu
Thanks for the reply. I want to save the image to a folder and load it later. I saw the save method. it just gave the syntax on how to save.
Is that enough??
Thanks a lot,
Vibhu
- vibhu(legacy Member)
Re: How to: save barcode to a file.
Assume your barcode object is called bar_obj, you can save the object by calling
bar_obj.Save("c:\my_barcode.mbx")
Later on you can load by calling
bar_obj.Load("c:\my_barcode.mbx")
bar_obj.Save("c:\my_barcode.mbx")
Later on you can load by calling
bar_obj.Load("c:\my_barcode.mbx")
- glitch (legacy member)
4 posts • Page 1 of 1
Return to Barcode ActiveX Control
Who is online
Users browsing this forum: No registered users and 1 guest