js页眉插入二维码


创建时间:06/28/2020 09:19:46 AM 修改时间: 02/25/2021 09:25:30 AM
文档分类:BS开发-常见问题, BS开发-开发技巧, BS客户端-JavaScript控制Word
相关文档:本文档没有相关文档
问题:js页眉插入二维码


处理参考:
ntko.ActiveDocument.ActiveWindow.ActivePane.View.SeekView=9;
ntko.ActiveDocument.Application.Selection.ParagraphFormat.Alignment = 2;//靠右显示;
ntko.ActiveDocument.Sections(1).Headers(1).Range.Text=" ";//多节时需要遍历节
ntko.Add2DCodePic(2,"11111111", true, -50, 0, 1, 100, 1, true); //参数细节可以看接口文档,
ntko.ActiveDocument.ActiveWindow.ActivePane.View.SeekView = 0;