CFBDocument
Overview
CFBDocument เป็นคลาสใน Aspose.Email FOSS สําหรับ Python.
การอธิบายเอกสาร CFB (Mutable Compound File Binary).
หมวดนี้ให้ 3 วิธีในการทํางานกับวัตถุ CFBDocument ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: build_storage, from_file, from_reader. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python. คุณสมบัติ: major_version, minor_version, root, transaction_signature_number.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
root | CFBStorage | อ่าน/เขียน | ได้หรือตั้งราก. |
major_version | int | อ่าน/เขียน | ได้หรือตั้งตัวอย่างหลัก. |
minor_version | int | อ่าน/เขียน | ได้หรือกําหนดรูปแบบเล็กๆ. |
transaction_signature_number | int | อ่าน/เขียน | ได้รับหรือกําหนดหมายเลขการลงนามของธุรกิจ. |
Methods
| Signature | Description |
|---|---|
from_reader(reader: CFBReader) → "CFBDocument" | สร้างตัวอย่าง CFBDocument จาก CF BReader ที่ได้รับการกําหนด |
build_storage(entry_id: int) → CFBStorage | การส่ง CFBStorage ตัวแทนการเก็บข้อมูลสําหรับ ID รายการที่ระบุ |
| `from_file(path: Path | str)→“CFBDocument”` |