这几句代码用c#应该怎么写? this.ObjectName.Alignment = Alignment.Center; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Selection是选区看看MS是怎么说的:http://support.microsoft.com/default.aspx?scid=kb;EN-US;306683用C#来操作word并使用word中的宏在C#中使用word的接口函数(视频演示) http://www.itvod.net/bbs/thread.php?fid=5 this.ObjectName.Alignment = Alignment.Center;顶3楼的,其实在VB.NET中其实直接就可以使用那些语法了。C#需要转换比较麻烦。 xiongchen(二氧化鬼):你的方法也不是说不可以实现。由于我的这个程序是一个升级的版本,所以还是希望能通过c#的代码来实现这两个功能 http://community.csdn.net/Expert/topic/3769/3769900.xml?temp=.1952173 app.Selection.ParagraphFormat.Alignment=Word.WdParagraphAlignment.wdAlignParagraphCenter;//(对齐)object insertBreak=null;insertBreak="wdPageBreak";app.Selection.InsertBreak(ref insertBreak);//插入分页符 app.Selection.ParagraphFormat.Alignment=Word.WdParagraphAlignment.wdAlignParagraphCenter;//(对齐)object insertBreak=null;insertBreak=0;app.Selection.InsertBreak(ref insertBreak);//插入分页符 VS2003的宏好像没有C#语言的支持吧..... app.Selection.ParagraphFormat.Alignment=Word.WdParagraphAlignment.wdAlignParagraphCenter;//(对齐)object insertBreak=null;insertBreak=0;app.Selection.InsertBreak(ref insertBreak);//插入分页符 如何判断某个Form窗体上的控件是否加载完毕 A类引用B类,在B类里怎么又怎么调用A类的控件属性 如何保留decimal类型数字的小数点后三位?多谢! C#抽象类有什么用? Developer Express的问题!!! 怎么把查询到的数据写入xsd里的表? [求助]C#编写三个大数组(按升序排列,只是数字)选出第一个相同元素问题 询问一个关于xml的问题 BOM表展示在TreeView的问题 寻求技术解决方案,局域网bs办公系统的问题。 一个关于TCP的问题,急! SharpZipLib控件不支持在繁体系统上压缩和解压缩中文文件名
看看MS是怎么说的:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;306683用C#来操作word并使用word中的宏在C#中使用word的接口函数(视频演示)
http://www.itvod.net/bbs/thread.php?fid=5
顶3楼的,其实在VB.NET中其实直接就可以使用那些语法了。C#需要转换比较麻烦。
你的方法也不是说不可以实现。由于我的这个程序是一个升级的版本,所以还是希望能通过c#的代码来实现这两个功能
insertBreak="wdPageBreak";
app.Selection.InsertBreak(ref insertBreak);//插入分页符
insertBreak=0;
app.Selection.InsertBreak(ref insertBreak);//插入分页符
insertBreak=0;
app.Selection.InsertBreak(ref insertBreak);//插入分页符