Dim doc As New PrintDoc '定义一个报表 Dim rt As New prt.RenderText '定义一个文本对象 rt.Text = "Hello Foxtable" '设置文本对象的内容 doc.Body.Children.Add(rt) '将文本对象加入到报表 doc.Print doc.Print
for i as integer = 1 to 2 Dim doc As New PrintDoc '定义一个报表 Dim rt As New prt.RenderText '定义一个文本对象 rt.Text = "Hello Foxtable" '设置文本对象的内容 doc.Body.Children.Add(rt) '将文本对象加入到报表 doc.Print next