111,120
社区成员
发帖
与我相关
我的任务
分享
Word.Document oDocument_Other = App.Documents.Open(Fsinfos[0].FullName);
Word.PageSetup ResultPageSetup = oDocument_Other.PageSetup;
oDocument.Sections[2].PageSetup = ResultPageSetup;
oDocument.Sections[2].PageSetup =oDocument_Other.PageSetup.Clone()
oDocument.Sections[2].PageSetup.TopMargin =28.3f;
oDocument.Sections[2].PageSetup.BottomMargin =14.15f;
oDocument.Sections[2].PageSetup.RightMargin = oDocument_Other.PageSetup.RightMargin;
oDocument.Sections[2].PageSetup.LeftMargin = oDocument_Other.PageSetup.LeftMargin;