Microsoft Office PowerPoint 2003 Visual Basic 编程属性详解
1. 常见属性介绍
1.1 ActivePrinter 属性
该属性用于返回活动打印机的名称,为只读字符串类型。以下是一个示例代码,用于显示活动打印机的名称:
MsgBox "The name of the active printer is " _
& Application.ActivePrinter
1.2 ActiveWindow 属性
此属性返回一个代表活动文档窗口的 DocumentWindow 对象,为只读属性。下面的示例将活动窗口最小化:
Application.ActiveWindow.WindowState = ppWindowMinimized
1.3 AddIns 属性
该属性返回特定于程序的 AddIns 集合,此集合代表“加载项”对话框(“工具”菜单)中列出的所有加载项,为只读属性。
加载项类型说明
| 加载项类型 | 文件扩展名 | 说明 |
|---|---|---|
| Microsoft PowerPoint 特定 |
超级会员免费看
订阅专栏 解锁全文
10

被折叠的 条评论
为什么被折叠?



