HeightType 属性 (Word)Frameset.HeightType property (Word)

返回或设置框架页上指定框架的宽度类型。Returns or sets the width type for the specified frame on a frames page. 读/写WdFramesetSizeTypeRead/write WdFramesetSizeType.

语法Syntax

expression.expression. HeightType

_表达式_是必需的。expression Required. 一个代表 "Frameset" 对象的变量。A variable that represents a 'Frameset' object.

示例Example

本示例将指定框架页中第一个 Frameset 对象的高度设定为窗口高度的 25%。This example sets the height of the first Frameset object in the specified frames page to 25 percent of the window height.

With ActiveDocument.ActiveWindow.Panes(1).Frameset 
 .HeightType = wdFramesetSizeTypePercent 
 .Height = 25 
End With

另请参阅See also

框架集对象Frameset Object

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.