AutoCaptions 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
对象的集合 AutoCaption ,这些对象表示在将表格、图片或 OLE 对象等项目插入到文档中时可以自动添加的标题。
public interface class AutoCaptions : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0002097A-0000-0000-C000-000000000046")]
public interface AutoCaptions : System.Collections.IEnumerable
type AutoCaptions = interface
interface IEnumerable
Public Interface AutoCaptions
Implements IEnumerable
- 属性
- 实现
注解
AutoCaptions使用 属性可返回 AutoCaptions 集合。
AutoCaptions 集合包含“自动Caption”对话框中列出的所有标题, (“插入”菜单) 。 自动插入题注 的对象不能以编程方式添加或从 自动标题 集合中删除。
使用 AutoCaptions (index
) (其中index
是描述文字名称或索引号)返回单个 AutoCaption 对象。 描述文字名称对应于“插入”菜单) (“自动Caption”对话框中列出的项。 必须完全匹配拼写 (但不一定与名称的大写) 匹配,如“自动Caption”对话框中所示。
索引编号代表 AutoCaption 对象在“自动插入题注”对话框的题注列表中所处的位置。
属性
Application |
返回一个 Application 对象,该对象代表指定对象的创建者。 |
Count |
返回指定集合中的项数。 |
Creator |
返回一个值,该值指示在其中创建了指定对象的应用程序。 |
Item[Object] |
返回集合中的单个对象。 |
Parent |
返回一个对象,代表指定对象的父对象。 |
方法
CancelAutoInsert() |
防止 Microsoft Word自动向任何类型的项目添加标题。 |
GetEnumerator() |
对象的集合 AutoCaption ,这些对象表示在将表格、图片或 OLE 对象等项目插入到文档中时可以自动添加的标题。 |