I want to set the margins on a Word document I'm creating using automation from code in C#.
I've started the process using ActiveDocument.TopMargin =
but I cannot find the C# code similar to the vb Word.InchesToPoint(.5)
Any help would be greatly appreciated
You have to get the instance of the Word application:
See the reference : http://msdn.microsoft.com/en-us/library/ff197549.aspx