Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
项目事件
BuildDetail
If e.Book.TempLate
= "SalesInvoice" Then
If e.region = "SaleOrderDetail"
Then
If e.DataRow Is Nothing OrElse
e.DataRow.IsNull("Lot") Then '如果是空行或者Lot列为空
Dim img As New
System.Drawing.Bitmap(1,1) '生成一个空白图片
img.Save(ProjectPath &
"Images\BarCode.gif")
Else '否则生成条形码图片
Dim Bar As New BarCodeBuilder
Bar.Symbology =
Barpro.Symbology.Code39
Bar.Code =
e.DataRow("Lot")
Bar.BarRatio = 0.3
Bar.BarHeight = 8
bar.SaveImage(ProjectPath &
"Images\BarCode.gif",300)
End If
End If
End If
生成二维码项目,这些代码放在哪里,找来找去都找不出来