MsgDocument
Overview
MsgDocument is a class in Aspose.Email for NET.
MsgDocument.MsgDocument creates a document with given storage root, version numbers, signature, and strict mode.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Root | MsgStorage | Read | Gets or sets the underlying MsgStorage container of the document |
MajorVersion | ushort | Read/Write | Gets or sets the major version number of the MSG format |
MinorVersion | ushort | Read/Write | |
TransactionSignatureNumber | uint | Read/Write | Gets or sets the transaction signature identifier |
Strict | bool | Read/Write | Gets or sets whether parsing enforces strict compliance |
Methods
| Signature | Description |
|---|---|
MsgDocument(root: MsgStorage, majorVersion: ushort, minorVersion: ushort, transactionSignatureNumber: uint, strict: bool) | Creates a document with given storage root, version numbers, signature, and strict mode |
FromFile(path: string, strict: bool) | Loads a MsgDocument from a file path using the specified strict flag |
FromStream(stream: Stream, strict: bool) | Loads a MsgDocument from a Stream using the specified strict flag |
ToCfbDocument() | Converts the MsgDocument into a Compound File Binary (CFB) document |