MsgDocument
Overview
MsgDocument เป็นคลาสใน Aspose.Email FOSS สําหรับ Python.
รูปแบบเอกสาร MSG ที่สามารถจัดเรียงได้ผ่าน CFB writer.
หมวดนี้ให้ 4 วิธีในการทํางานกับวัตถุ MsgDocument ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: build_storage, from_file, from_reader, to_cfb_document. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python. คุณสมบัติ: major_version, minor_version, root, strict, transaction_signature_number.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
root | MsgStorage | อ่าน/เขียน | ได้หรือตั้งราก. |
major_version | int | อ่าน/เขียน | ได้หรือตั้งตัวอย่างหลัก. |
minor_version | int | อ่าน/เขียน | ได้หรือกําหนดรูปแบบเล็กๆ. |
transaction_signature_number | int | อ่าน/เขียน | ได้รับหรือกําหนดหมายเลขการลงนามของธุรกิจ. |
strict | bool | อ่าน/เขียน | ได้หรือกําหนดความเคร่งขัน. |
Methods
| Signature | Description |
|---|---|
from_reader(reader: MsgReader) → "MsgDocument" | สร้าง MsgDocument จากตัวอย่าง MsgReader |
build_storage(entry: DirectoryEntry, role: str) → MsgStorage | สร้าง MsgStorage จาก DirectoryEntry และ role string |
| `from_file(path: Path | str, strict: bool)→“MsgDocument”` |
to_cfb_document() → CFBDocument | เปลี่ยนแปลง MsgDocument เป็น CFBDocument |