title: Resize Image in a word c#
body: <p>I converted my Docx from the <strong>"Letter format"</strong> to <strong>"A4"</strong> but now the Layout options are off. And I would like to change that via code </p>
  
  <pre><code>  var wordApplication = new Application();
          var document = wordApplication.Documents.Open(@"C:\Users\test\Desktop\Test\test.docx");
  
  
          //Set paper Size
          document.PageSetup.PaperSize = WdPaperSize.wdPaperA4;
  
          //Set paper Format
          document.PageSetup.PageHeight = 855;
          document.PageSetup.PageWidth = 595;
  
  
          //Doc save
          document.Save();
  
          //Close word
          wordApplication.Quit();[![enter image description here][1]][1]
  </code></pre>
  
  <p>I tried to use the PageSetup Height and Width and yes the values are in "Points" would be 30 and 21 cm. But that does not seam to be the right thing. Here is option in word that I would like to change via <a href="https://i.stack.imgur.com/ogCw4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ogCw4.png" alt="code"></a></p>