书签目录 word c# 我的word模板中已经存在书签了,然后我在word中建个表格,在表格里输入文字,我想让这个文字能够进行链接到书签上,怎么做啊!查了快两天的资料了,一点也差不到,真的要哭了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 if(Doc.Books.Exists("a")){object b="a";Word.Book bk=Doc.Books.Item(ref b);Object Nothing = System.Reflection.Missing.Value;Word.Table table = WordDoc.Tables.Add(bk.Range, 1, 1, ref Nothing, ref Nothing); } Word.Book bk=Doc.Books.Item(ref b);没有Item啊,只有get_Item 使用的WORD是那个Word.Book bk=WordDoc.Books.get_Item(ref b);Object Nothing = System.Reflection.Missing.Value;Word.Table table = WordDoc.Tables.Add(bk.Range, 1, 1, ref Nothing, ref Nothing); 就是那种方法,获取书签,Tables.Add添加table 我现在这个表格已经在模板中了,然后我里面插入文字,我所插入的文字就要绑定书签! Word.Cell cell = table.Cell(i + 2, 2); cell.Range.Text = arrayList[i].ToString(); 表格已经存在了,怎么办啊!大哥哥 object b="a";Word.Range rng=Doc.Books.get_Item(ref b).Range;Word.Table tb=Doc.Table.Add(rng,1,2,ref nothing,ref nothing);tc.cell(1,1).Range.Text=""; FileStream与BinaryReader 一起使用~求解~~ Convert.ToInt32(Console.ReadLine()求解释 不明白??? vb Format(5, "00") 在c# 如何写 C# 支持哪些中文字体呢 基类调用继承类的方法?实在是搞不懂?谢谢! 什么api函数能够获取当前按下了键盘的什么键? c#中数据插入的问题? 救命啊,我是新手 wpf中获取xmal上的button后,但是不能对其操作,界面上不能正常显示操作button 通过函数名执行函数 新手,求教dataGridView如何显示数据库的一个表的数据???
{
object b="a";
Word.Book bk=Doc.Books.Item(ref b);
Object Nothing = System.Reflection.Missing.Value;Word.Table table = WordDoc.Tables.Add(bk.Range, 1, 1, ref Nothing, ref Nothing);
}
没有Item啊,只有get_Item
Word.Book bk=WordDoc.Books.get_Item(ref b);
Object Nothing = System.Reflection.Missing.Value;
Word.Table table = WordDoc.Tables.Add(bk.Range, 1, 1, ref Nothing, ref Nothing);
Word.Cell cell = table.Cell(i + 2, 2);
cell.Range.Text = arrayList[i].ToString();
表格已经存在了,怎么办啊!大哥哥
Word.Range rng=Doc.Books.get_Item(ref b).Range;Word.Table tb=Doc.Table.Add(rng,1,2,ref nothing,ref nothing);
tc.cell(1,1).Range.Text="";