msg_document
概述
msg_document 是 Aspose.Email 中用于 CPP 的类。
方法
| 签名 | 描述 |
|---|---|
major_version() → std::uint16_t | 返回 MSG 格式的主版本号 |
minor_version() → std::uint16_t | 返回 MSG 格式的次版本号 |
transaction_signature_number() → std::uint32_t | 返回文档的事务签名编号 |
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 文档转换为 CFB 存储文档 |