Foxtable(狐表)官方栏目BUG收集 → 帮助中"RenderArea"的错误


  共有7117人关注过本帖树形打印复制链接

主题:帮助中"RenderArea"的错误

美女呀,离线,留言给我吧!
yangming
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信 一级勋章
等级:超级版主 帖子:4109 积分:23338 威望:0 精华:21 注册:2008/9/1 20:07:00
帮助中"RenderArea"的错误  发帖心情 Post By:2009/4/10 19:41:00 [只看该作者]

rt.Text = "Hello Foxtable " & i '设置文本对象的内容
   
rt.Width = 35 '宽度为35毫米
   
rt.Height = 15 '宽度为15毫米
   
rt.Style.Spacing.All = 2 '设置各个方向的间隔
   
rt.Style.Borders.All = New prt.Linedef(1, Color.Red) '设置边框
   
rt.Style.TextAlignHorz = prt.AlignHorzEnum.Center '水平居中
   
rt.Style.TextAlignVert = prt.AlignVertEnum.Center '垂直居中
    doc.Body.Children.Add(rt)
'
将文本对象加入到报表
Next

ra
.Stacking = prt.StackingRulesEnum.InlineLeftToRight '设置容器中对象的排列方式
For
i AS integer = 4 To 7
   
rt = New prt.RenderText()
'
创建文本对象
    rt.Text = "Hello Foxtable " & i
'
设置文本对象的内容
    rt.Width = 35
'
宽度为35毫米
    rt.Height = 15
'
宽度为15毫米


上面二处黄色背景处,均应是:高度为15毫米


 回到顶部
帅哥哟,离线,有人找我吗?
狐狸爸爸
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:管理员 帖子:47448 积分:251054 威望:0 精华:91 注册:2008/6/17 17:14:00
  发帖心情 Post By:2009/6/3 17:25:00 [只看该作者]

搞定

 回到顶部