msg_document
概述
msg_document 是 Aspose.Email FOSS 中用于 C++ 的一个类。
描述
msg_document 是 Aspose.Email FOSS 库中用于 C++ 的一个类,向程序使用者公开了 10 个方法和 0 个属性。
方法
| 签名 | 描述 |
|---|---|
major_version() → std::uint16_t | 返回 MSG 格式的主版本号 |
minor_version() → std::uint16_t | 返回 MSG 格式的次版本号 |
transaction_signature_number() → std::uint32_t | 返回 MSG 文档的交易签名标识符 |
strict() → bool | 指示文档是否在严格模式下解析 |
from_reader(reader: msg_reader) → msg_document | 通过读取 msg_reader 实例来创建 msg_document |
from_file(path: std::filesystem::path, strict: bool) → msg_document | 从文件路径加载 msg_document,可选严格解析 |
from_stream(stream: std::istream, strict: bool) → msg_document | 从输入流加载 msg_document,可选严格解析 |
to_cfb_document() → cfb::cfb_document | 将 msg_document 转换为 CFB 存储文档 |