LabVIEW论坛
直播中

就是我啊111

5年用户 131经验值
擅长:LabVIEW
私信 关注
[问答]

labview生成word报表,怎样控制插入文本的字体大小和颜色

请问,我想用labview生成word报表的时候,用书签的方式插入文本,在插入文本前,更改了颜色,插入文本后再将颜色改回去,但是生成的word里面,字体颜色没有变,请问是怎么回事。有什么解决办法吗,改颜色
  • 插入前后,改变颜色
已退回1积分

回帖(4)

刘志强

2020-2-29 08:59:02
同问!!!!!!!!!!!!!!!!!!!!!!
举报

齐非

2020-3-3 18:15:36
你的颜色函数使用的位置不对哦。
举报

ljl5130

2020-8-20 11:36:24
report in is a reference to the report whose appearance, data, and printing you want to control. Use the Create Report VI to generate this LabVIEW class object.  
value contains an array of strings to insert into the table cell.  
table index specifies the index of the table to edit. The default is –1, in which the VI modifies the last table in the current document.  Note  Graphs, tables, images, ActiveX controls, and OLE objects form a collection for each document. Each object has an index value based on the order of the objects in the document. Index values begin at 0. For example, if you insert two images into the document before you insert a graph, the index value for the graph is 2.

error in describes error conditions that occur before this node runs. This input provides standard error in functionality.  
start defines the position of the edited cell.  rows specifies the row index.  
columns specifies the column index.  

report out is a reference to the report whose appearance, data, and printing you want to control. You can wire this output to other Report Generation VIs.  
error out contains error information. This output provides standard error out functionality.  
举报

更多回帖

发帖
×
20
完善资料,
赚取积分