全部显示

ForegroundPatternColor 属性

       

该属性返回或设置应用于 Shading 对象前景色的 24 位颜色。该颜色应用于底纹图案中的点和线。该属性可以是任何有效的 WdColor 常量或 Visual Basic 的 RGB 函数返回的值。可读写。

expression.ForegroundPatternColor

expression   必需。该表达式返回一个 Shading 对象。

示例

本示例将深红色背景上带灰蓝色点的底纹应用于所选内容。

With Selection.Shading
    .Texture = wdTexture30Percent
    .ForegroundPatternColor = wdColorTeal
    .BackgroundPatternColor = wdColorDarkRed
End With