![]() Previously, I have always used something similar to this with success (In C): //No spacing when using Word version > 2003 //Word 2003 '11.0' //Word 2007 '12.0' Word.Application appVersion new Word.Application () string sVersion () if. I've tried sifting through the various enumerations, such as "WdBuiltinStyle," but can't seem to find one that accomplishes the same thing as "No Spacing. Word 2007 defaults to double spacing or to having extra space between lines. So, I am trying to figure out a way to apply this same change in a more portable way. I believe this is because "No Spacing" needs to be in the target language, instead of hardcoded as English. ![]() _Style(ref noSpacingStyle) īut, this is breaking when trying to apply it under some regional/cultural settings, such as Italian and German. Word.Application appVersion = new Word.Application() Previously, I have always used something similar to this with success (In C#): //No spacing when using Word version > 2003 ![]() Word 2007 defaults to double spacing or to having extra space between lines. From the 'Line spacing' drop-down list, choose the spacing you would like Word to use. From the Indents and Spacing tab > Locate the 'Spacing' section. In the lower-right corner of the 'Paragraph' group, click the arrow. I am having trouble setting the line spacing in Word 2007. To change the default line spacing: Click the Home tab > Locate the 'Paragraph' group.
0 Comments
Leave a Reply. |