DocumentTheme Gets the Microsoft Office theme that is applied to the document. DoNotEmbedSystemFonts Gets or sets a value that indicates whether Microsoft Office Word embeds common system fonts. Email Gets an Email object that contains all the e-mail–related properties of the document. EmbedLingu...
DocumentProperty 对象 (Office) Learn 登录 Visual Basic for Applications 按产品浏览 VBA 语言参考 Office 库参考 本文原文为英文,已针对你所在市场进行了翻译。 你对所用语言的质量的满意度如何? CustomXMLPart 对象 CustomXMLParts 对象 CustomXMLPrefixMapping 对象...
Trueif Microsoft Word removes all user information from comments, revisions, and the Properties dialog box upon saving a document. Read/writeBoolean. 研究 返回一个表示文档的信息检索服务的研究对象。只读的。 RevisedDocumentTitle 返回一个字符串,它表示运行精确比较文档比较功能之后修订的文档的文档标题。只读...
需要expression。 代表Document物件的變數。 註解 若要傳回單一DocumentProperty物件代表特定的內建文件屬性,可以使用BuiltinDocumentProperties屬性。 如果 Microsoft Word 不會定義的其中一個內建文件屬性的值,則讀取該文件屬性的Value屬性會產生錯誤。 如需傳回集合中單一成員的資訊,請參閱從集合傳回物件。
返回表示元数据存储在文档中,例如,作者姓名、 主题和公司 元属性 集合。 此为只读属性。语法expression。 ContentTypeProperties表达 返回Document 对象的表达式。另请参阅Document 对象支持和反馈有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。反馈 ...
Word for Microsoft 365Word for the webWord 2024Word 2021Word 2019Word 2016Word 2013 Newer versionsWeb Using document info For common information, such as Author name, File name, date, or file path, follow these steps: Double-click the header or foote...
Document 对象是 集合的成员Documents。 Documents 集合包含当前在 Microsoft Word中打开的所有 Document 对象。 使用Documents(index) ,其中 index 是文档名称或索引号以返回单个 Document 对象。 索引编号代表文档在 Documents 集合中的位置。 ActiveDocument使用 属性可引用具有焦点的文档。
如果Microsoft Word 没有为一个内置的文档属性定义一个值,则读取这个文档属性的 Value 属性时会产生一个错误。 用CustomDocumentProperties 属性返回自定义文档属性的集合。 示例 本示例在活动文档的末尾插入一个内置属性列表。 Sub ListProperties() Dim rngDoc As Range Dim proDoc As DocumentProperty Set rngDoc ...
获取WordprocessingDocument 的 DigitalSignatureOriginPart。 DocumentType 获取WordprocessingDocument 的类型。 ExtendedFilePropertiesPart 获取WordprocessingDocument 的 ExtendedFilePropertiesPart。 ExternalRelationships 获取所有外部关系。不包括超链接关系,请使用 HyperlinkRelationship 属性枚举超链接关系。 (继承自 Ope...
返回一个 CustomProperties 对象,该对象代表智能标记的属性。 expression.Properties expression 必需。该表达式返回一个 SmartTag 对象。 说明 虽然使用 Add 方法可在 Microsoft Word Visual Basic for Applications 工程中添加自定义属性,但是自定义属性通常是由智能标记标识符和操作文件指定的。