全部显示

FramesetBorderColor 属性

       

该属性返回或设置指定框架页中框架边框的颜色。该属性可以是任何 WdColor 常量或 Visual Basic 的 RGB 函数返回的值。可读写。

expression.FramesetBorderColor

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

说明

有关创建框架页的详细信息,请参阅创建框架页

示例

本示例将指定框架页中框架边框的颜色设为茶色。

With ActiveWindow.Document.Frameset
    .FramesetBorderColor = wdColorTan
    .FramesetBorderWidth = 6
End With