long row_count
if right(label_text,1) = ‘、’  then//label_text是在外面定义的全局变量(Instance)
label_text = left (label_text,len(label_text) -1)
end if
row_count = ceiling(len(label_text) / 33)
dw_print_nxs.modify("expand2_1.height = " + string(row_count * 55))
dw_print_nxs.modify("datawindow.header.height =" + string(370 + row_count * 55))

 

相关文章:

  • 2021-06-06
  • 2022-01-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
猜你喜欢
  • 2022-01-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-09
  • 2021-05-11
  • 2022-12-23
相关资源
相似解决方案