-- 作者:mamuaiqing
-- 发布时间:2013/4/4 21:14:00
--
研究了下,下面的代码出现了图片中的错误,请教老师代码要怎么改?
Dim dd As Row =Tables("表A").Current Dim Bar As New BarCodeBuilder Bar.Symbology = Barpro.Symbology.DataMatrix Bar.Code = dd("第一列") Bar.QuietZoneWidth = 2 Bar.SaveImage("d:\\\\" & dd("第二列") &".bmp")
Dim doc As New PrintDoc \'定义一个报表对象 Dim rm As New prt.RenderImage \'定义一个图片对象 rm.Image = GetImage("d:\\\\" & dd("第二列") &".bmp") \'设置图片 doc.Body.Children.Add(rm) \'将图片对象加入报表 Doc.Preview() \'预览
此主题相关图片如下:图1.png

|