Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: VB Examples of Datamatrix Encoder SDK/DLL

VB Examples of Datamatrix Encoder SDK/DLL 4 years 3 months ago #3883

Type tagDATAMATRIXCONTEXT
code As String * 3300
size As Long
encoding As Long
dotPixel As Long
sizePattern As Long
nMargin As Long
clBackGround As Long
clForeGround As Long
End Type

Private Declare Function DataMatrixEncode2SMSImage Lib "DataMatrixEncodeDll.dll" (ByVal pBuf As String, ByVal ImgFile As String, ByVal nWidth As Long, ByVal nHeight As Long) As Boolean
Private Declare Function EncodeDataMatrix2File Lib "DataMatrixEncodeDll.dll" (ByVal pBuf As Any, ByVal nSize As Long, ByVal nScheme As Long, ByVal nPixelSize As Long, ByVal nSizePattern As Long, ByVal nMargin As Long, ByVal clBack As Long, ByVal clFore As Long, ByVal lpImageFile As String) As Boolean
ByVal pBuf As Any, ByVal pSize As Long) As Boolean


Private Sub Command1_Click()
If (DataMatrixEncode2SMSImage("ABCDEFGHIJKLMNOP", "c:\pic4.bmp", 72, 28)) Then
MsgBox ("SUccess, Trial version will replace some char of input with '*' randomly")
Else
MsgBox ("failed")
End If

End Sub
The administrator has disabled public write access.

  • Posts:59
  • developer's Avatar
  • developer
  • Moderator
  • OFFLINE
  • Karma: 1
  • Page:
  • 1
Time to create page: 0.164 seconds
Powered by Kunena Forum :: Wibi