wordApp.ActiveWindow.ActivePane.HorizontalPercentScrolled = 11 ;
wordApp.Selection.PageSetup.RightMargin = wordApp.CentimetersToPoints(float.Parse("2"));
Object start = Type.Missing;
Object end = Type.Missing;
Object unit = Type.Missing;
Object count = Type.Missing;
wordDoc.Range(ref start, ref end).Delete(ref unit, ref count);
object rng = Type.Missing;
string strInfo = this.txtNameCh.Text.ToString()+"明细表"+strSign+"\r\n";
start = 0;
end = 0;
wordDoc.Range(ref start, ref end).InsertBefore(strInfo);
wordDoc.Range(ref start, ref end).Font.Name = "Verdana";
wordDoc.Range(ref start, ref end).Font.Size = 20;
wordDoc.Range(ref start, ref end).ParagraphFormat.Alignment = Word.WdParagraphAlignment.wdAlignParagraphCenter;
start = 8;
end = strInfo.Length;
wordDoc.Range(ref start, ref end).InsertParagraphAfter();//插入回车
if(DT.Rows.Count>0)
{
//存在数据项
//添加一个表格
object missingValue = Type.Missing;
&nb
| 对此文章发表了评论 |

