MsgDocument

Overview

MsgDocument 是Python的Aspose.Email FOSS中的一个类.

可变化的MSG文档模型可以通过CFB编写器进行序列化.

这个类提供了4种方法,用于在Python程序中使用MsgDocument 对象. 有的方法包括: build_storage, from_file, from_reader, to_cfb_document. 在安装Python包的Aspose.Email FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: major_version, minor_version, root, strict, transaction_signature_number.

Properties

NameTypeAccessDescription
rootMsgStorage阅读/写作得到或设置根.
major_versionint阅读/写作获得或设置主要版本.
minor_versionint阅读/写作得到或设置小版本.
transaction_signature_numberint阅读/写作获取或设置交易签名号码.
strictbool阅读/写作得到或设置严格.

Methods

SignatureDescription
from_reader(reader: MsgReader)"MsgDocument"从一个 MsgReader 实例创建一个MsgDocument
build_storage(entry: DirectoryEntry, role: str)MsgStorage从一个 DirectoryEntry 和角色字符串中构建MsgStorage
`from_file(path: Pathstr, strict: bool)“MsgDocument”`
to_cfb_document()CFBDocument将 MsgDocument 转换为 CFBDocument.

See Also

 中文