向当前工作表添加文本艺术对象并注明参数
名称 | 类型 | 默认 | 描述性 |
extPr | apiTextPr | Api.CreateTextPr() | 文本属性 |
sText语言 | 字符串 | 文字写在这里 | 文本艺术对象文本 |
变换形式 | 文本转换 | 文本非Shape | 文本变换类型 |
OFILLL | apiFill | Api.CreateNoFill() | 颜色或模式填充文本艺术对象 |
OStroke系统 | apiStroke系统 | Api.CreateStroke(0, Api.CreateNoFill()) | 中风创建文本艺术对象影 |
nrotAngle | 数组 | 0 | 旋转角 |
微信 | EMU系统 | 1828800 | 文本艺术宽度用英语测量单元 |
nH8 | EMU系统 | 1828800 | 文本艺术高度用英语测量单元 |
从Col | 数组 | 0 | 列号中文本艺术对象起始位置 |
从Row | 数组 | 0 | 行号表示文本艺术对象起始位置 |
ncoloffset | EMU系统 | 0 | 从NFORTCol列向文本Art对象左侧偏移 |
nRowoffset | EMU系统 | 0 | nFromRow行偏上方文本Art对象 |
builder.CreateFile("xlsx")!varoWorksheetvaroTextPr=api.CreateTextProTextPr.SetFontSize(72)!oTextPr.SetBold(true)!oTextPr.SetCaps(true)!extPr.SetColor(515151假)extPr.SetFontFormvaroFinll =api.CreateSolidFillVar.CreateStroke(1*36000,Api.CreateSolidFill(Api.CreateRGBColor(515151)))工作表.AddWordArt(oTextPr,独家办公台,textArchUp,OFIL,OSTROKE,0,100*3600020*360000022*3600033600builder.SaveFile("xlsx", "AddWordArt.xlsx")!builder.CloseFile();