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
baldur
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

Hello!

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 color.black/colour.white :?
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
Baldur

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: GDPicture with VBScript - BarcodeDataMatrixWrite on bito

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

Hello Baladur,

Just replace:

OImg.ARGB_2(255,255,0)

by

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,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest