Dim doc As New PrintDoc '定义一个报表
Dim rt As New prt.RenderTable() '定义一个表格对象
Dim rx As New prt.RenderText '定义一个文本对象
Dim CurRow As Row = Tables("会议记录").Current
'链接二维码
Dim rg As prt.RenderGraphics
Dim Bar As New BarCodeBuilder
Bar.Symbology = Barpro.Symbology.QRCode
Doc.Stacking = prt.StackingRulesEnum.InlineLeftToRight
bar.Code = "会议主题:" & CurRow("会议主题") & vbcrlf &"会议时间:" & CurRow("会议时间") & vbcrlf & "会议地点:" & CurRow("会议地点")
rg = new prt.RenderGraphics
bar.DrawOnCanvas(rg.Graphics,0,0,1)
rg.Style.Spacing.All = 10
Doc.Body.Children.Add(rg)
'..............
rt.Cells(0,0).Text= "二维码"
rt.Cells(0,1).Text =
'.....................
Doc.Preview()
帮助里的图片换成二维码
http://www.foxtable.com/webhelp/topics/1238.htm