>*-- Create object >loFbc = CREATEOBJECT("FoxBarcode") > >*-- Set the properties >WITH loFbc > .cImageType = "PNG" > .nBarcodeType = 110 & & Code 128 > .cSet128 = "C" & & Set 128 C > .nImageHeight = 100 > .nFactor = 2 >ENDWITH > >*-- Generate image >lcImagen = loFbc.BarcodeImage("123456789012") > >Before instantiating the class FoxBarcode, you must run the following statements:
SET PROCEDURE TO LOCFILE("FoxBarcode.prg"), LOCFILE("gpImage2.prg") ADDITIVESee more examples in http://weblogs.foxite.com/luismaria/archive/2010/11/06/13426.aspx