DefaultHeight 属性

       

返回或设置默认的信封高度(以磅为单位)。Single 类型,可读写。

注意   如果设置了 DefaultHeightDefaultWidth 属性,则会自动将信封的大小修改为“工具”菜单“信封选项”对话框中的自定义信封大小。用 DefaultSize 属性可将预定义尺寸设置为默认尺寸。

示例

本示例将默认信封尺寸设置为长 7.5 英寸,宽 4.5 英寸。

With ActiveDocument.Envelope
    .DefaultHeight = InchesToPoints(4.5)
    .DefaultWidth = InchesToPoints(7.5)
End With