Home > Net >  Written in c #, please word how to set the line spacing to a fixed value when 28 pounds
Written in c #, please word how to set the line spacing to a fixed value when 28 pounds

Time:09-19

Font size of 16, if direct call wordApp Selection. ParagraphFormat. LineSpacing=28 f, generate multiple times spaced 2. XX times, but I want to set a fixed value 28 pounds, what should I do

CodePudding user response:

CodePudding user response:

Recording a macro in a word, first look at the word of his own with the sort of object implementation, basically word vba macros to object, you can find in c #, so we do a office development are see Microsoft's own macro first, and then the translation

CodePudding user response:

refer to the second floor wanghui0380 response:
to record a macro in a word, first look at the word of his own with the sort of object implementation, basically word vba macros to object, you can find in c #, so we do a office development are see Microsoft's own macro first, and then translated

CodePudding user response:

refer to the second floor wanghui0380 response:
to record a macro in a word, first look at the word of his own with the sort of object implementation, basically word vba macros to object, you can find in c #, so we do a office development are see Microsoft's own macro first, and then translated
thank you! Has been solved! Is really a very practical function

CodePudding user response:

reference weixin_42416674 reply: 3/f
Quote: refer to the second floor wanghui0380 response:
to record a macro in a word, first look at the word of his own with the sort of object implementation, basically word vba macros to object, you can find in c #, so we do a office development are see Microsoft's own macro first, and then translated
practical

CodePudding user response:

The space between the lines of the building Lord, teach me spire. Doc how fixed value setting,

CodePudding user response:

Just got a , setting LineSpacingRule
  •  Tags:  
  • C#
  • Related