2017-11-06 1 views

答えて

0
using System; 
using Microsoft.Office.Interop.Word; 

namespace PageSetup 
{ 
    class TestPageOrientation 
    { 
     static void Main(string[] args) 
     { 
      var app = new Microsoft.Office.Interop.Word.Application(); 
      app.Visible = true; 

      //Load Document 
      Document document = app.Documents.Open(@"/*YOUR FILE PATH HERE*/"); 

      document.PageSetup.Orientation = WdOrientation.wdOrientLandscape; 
     } 
    } 
} 
これはあなたを助けるかもしれない[チュートリアル]です
関連する問題