Publisher) (选项对象

表示在 Microsoft 发布的应用程序和发布选项。 Options 对象的许多属性对应于“选项”对话框 (“工具”菜单) 中的项目。

备注

使用 Application.Options 属性返回 Options 对象。

示例

下面的示例设置对发布服务器的四个应用程序选项。

Sub SetSpecialOptions() 
 With Options 
 .AllowBackgroundSave = True 
 .DragAndDropText = True 
 .AutoHyphenate = True 
 .MeasurementUnit = pbUnitInch 
 End With 
End Sub

方法

属性

另请参阅

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。