GDPicture with VBScript - BarcodeDataMatrixWrite on bitonal

Discussions about GdPicture.NET usage in non managed applications built in vb6, Delphi, vfp, MFC c++ etc...
Post Reply
Posts: 2
Joined: Wed Apr 24, 2013 11:58 am

GDPicture with VBScript - BarcodeDataMatrixWrite on bitonal

Post by baldur » Wed Apr 24, 2013 12:09 pm


First ..., sorry about my bad english ...

Next, ... I try to stamp a datamatrix on a tif g4 (singlepage) but it's not possible to find the referenz to :?
So I try ARGB_2 and get the error 0x80131509 :(

The call i use is:

Code: Select all

m_OImg.BarcodeDataMatrixWrite m_iImgID, argData, 0, 0, 4, 4, 10, 10, 0, m_OImg.ARGB_2(255,255,0), m_OImg.ARGB_2(0,255,0)
My target is to write the datamatrix in the left corner of my tif with white as background ... . What sould I use instead of ARGB_2?

Can anybody help?

Kind reguards from vienna

User avatar
Site Admin
Posts: 5774
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: GDPicture with VBScript - BarcodeDataMatrixWrite on bito

Post by Loïc » Wed May 01, 2013 8:07 pm

Hello Baladur,

Just replace:



OImg.ARGBI(255, 255,255,0)

More info on this topic: viewtopic.php?t=3757

Let me know if you have any doubt or remaining question.

Kind regards,


Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests