问题: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;
|