以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  让打印机打印完再空走几行的代码怎么写?  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=159579)

--  作者:xxfoxtable
--  发布时间:2020/12/31 8:36:00
--  让打印机打印完再空走几行的代码怎么写?
 让打印机打印完再空走几行的代码怎么写?
--  作者:有点蓝
--  发布时间:2020/12/31 9:55:00
--  
模板里增加几个空行
--  作者:xxfoxtable
--  发布时间:2021/1/3 10:20:00
--  
   For i As Double=1 To 5
                rx = new prt.RenderText
                rx.text = "  "
                \'rx.Style.FontBold = True \'字体加粗
                rx.Style.FontSize = 11 \'大体大小为16磅
                rx.Style.TextAlignHorz = prt.AlignHorzEnum.left  \'水平居中排列
                rx.Style.Spacing.Bottom = 1 \'和下面的对象(表格)距离3毫米
                doc.Body.Children.Add(rx) \'加入到报表中
            Next
这样写不行呢?
--  作者:有点蓝
--  发布时间:2021/1/3 11:22:00
--  
rx = new prt.RenderText
                rx.text = "  "
rx.height = 50
                \'rx.Style.FontBold = True \'字体加粗
                rx.Style.FontSize = 11 \'大体大小为16磅
                rx.Style.TextAlignHorz = prt.AlignHorzEnum.left  \'水平居中排列
                rx.Style.Spacing.Bottom = 1 \'和下面的对象(表格)距离3毫米
                doc.Body.Children.Add(rx) \'加入到报表中