Word 2010 VSTO Spacing Font Property - 它是否可用于API?
问题描述:
是否可以访问此选项在VSTO:Word 2010 VSTO Spacing Font Property - 它是否可用于API?
Right click on paragraph -> Font -> Advanced Tab -> Spacing Option
和改变呢?
答
我相信是的。这些是您可以与之交互的不同参数。
Sub Sample()
With Selection.Font
.Name = "+Body"
.Size = 11
.Bold = False
.Italic = False
.Underline = 0 ' wdUnderlineNone
.UnderlineColor = -16777216 'wdColorAutomatic
.StrikeThrough = False
.DoubleStrikeThrough = False
.Outline = False
.Emboss = False
.Shadow = False
.Hidden = False
.SmallCaps = False
.AllCaps = False
.Color = -16777216
.Engrave = False
.Superscript = False
.Subscript = False
.Spacing = -1.1
.Scaling = 150
.Position = 4
.Kerning = 0
.Animation = 0 'wdAnimationNone
End With
End Sub
@dragonfly:如果您的查询已解决,请随时关闭此问题:) – 2012-02-19 18:07:10