PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → Draw or Write Barcode (bar code) on image
Draw or Write Barcode (bar code) on image
Iniciado por Ajmal Rafique, 09,feb. 2016 12:04 - 1 respuesta
Publicado el 09,febrero 2016 - 12:04
Hi,

I have spent some time trying to find out how to add a bar code to an image without success. I'm working on webdev and the project is an Android project. An example would really be appreciated. We can display as an control but cannot get that in an image.

dFont("Arial", 7, iNormal, 0)
dText(10, 10, "Test", Black)
//MyQRCode is BarCodes
//MyQRCode..TypeContent = bcTypeText
//MyQRCode..TypeBarCode = BC_CODE39
//MyQRCode..Content = "1234567"
//dText(280, 10, MyQRCode, Black)
dSaveImageJPEG(IMG_Note,sImagename,100)

Help really appreciated in advance.
Publicado el 09,febrero 2016 - 14:49
Hi

is this webdev or android?

Anyway, a barcode can be displayed easily in a barcode field.
After that, putting an image field BELOW it and displaying something
else in it should be easy... that is, -IF- I understood the question
correctly

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com



On 2/9/2016 6:04 AM, Ajmal Rafique wrote:
Hi,

I have spent some time trying to find out how to add a bar code to an
image without success. I'm working on webdev and the project is an
Android project. An example would really be appreciated. We can
display as an control but cannot get that in an image.
dFont("Arial", 7, iNormal, 0)
dText(10, 10, "Test", Black)
//MyQRCode is BarCodes //MyQRCode..TypeContent = bcTypeText
//MyQRCode..TypeBarCode = BC_CODE39
//MyQRCode..Content = "1234567" //dText(280, 10, MyQRCode, Black)
dSaveImageJPEG(IMG_Note,sImagename,100)

Help really appreciated in advance.