DocumentInfo

概述

DocumentInfo 是一个类在Aspose.PDF FOSS的.NET中.

表示文档信息词典.

本类提供了在NET程序中与DocumentInfo对象工作的9种方法. 有的方法包括: Add, Clear, ClearCustomData, ContainsKey, DocumentInfo, GetCustom, IsPredefinedKey, Remove, SetCustom. 所有公众成员在安装了Aspose.PDF FOSS for .NET 包后,可以访问任何.NET应用程序. 特性: Author, Count, CreationDate, CreationTimeZone, Creator, IsDirty,另外8个.

属性

名称:类型Access描述情况
IsDirtybool阅读自上一次保存/加载以来是否有任何属性被修改.
Countint阅读在/Info词典中输入元数据的数量.
KeysIEnumerable<string>阅读所有元数据输入密钥.
Titlestring?阅读/写作获取或设置标题。.
Authorstring?阅读/写作获取或设置作者。.
Subjectstring?阅读/写作获取或设置主题。.
Keywordsstring?阅读/写作获取或设置关键字。.
Creatorstring?阅读/写作获取或设置创建者。.
Producerstring?阅读/写作获取或设置生产者。.
Trappedstring?阅读/写作获取或设置 trapped。.
CreationDateDateTime阅读/写作获取或设置创建日期。.
ModDateDateTime阅读/写作获取或设置修改日期。.
CreationTimeZoneTimeSpan阅读/写作在 CreationDate 元数据中存储的时区偏移,如果没有的话为零.
ModTimeZoneTimeSpan阅读/写作在 ModDate 元数据中存储的时区偏移,如果没有的话为零.

方法

Signature描述情况
DocumentInfo(document: Document)为给定文档创建一个 DocumentInfo 实例.
IsPredefinedKey(key: string)给出的密钥是否是PDF 32000-2 § 14.3.3定义的众所周知的PDP文件信息词典条目之一.
Clear()从/Info词典中删除所有条目.
ClearCustomData()删除所有未预定义的 (自定义) 入文.
Remove(key: string)删除键上的条目.
SetCustom(key: string, value: string)设置自定义元数据属性。.
Add(key: string, value: string)添加一个自定义的元数据属性.
ContainsKey(key: string)底层/Info词典是否包含给定密钥的条目.
GetCustom(key: string)获取自定义元数据属性。.

查看更多

 中文