帮助写得很清楚
Dim doc As New PrintDocDim rbc As New prt.RenderBarCode()rbc.Height = 25rbc.BarCodeType = BarCodeEnum.Code39rbc.BarDirection = BarDirectionEnum.Normalrbc.Text = "123456"rbc.ShowText = Truedoc.Body.Children.Add(rbc)Doc.Preview()