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

NameTypeAccessDescription
RootMsgStorageReadGets or sets the underlying MsgStorage container of the document
MajorVersionushortRead/WriteGets or sets the major version number of the MSG format
MinorVersionushortRead/Write
TransactionSignatureNumberuintRead/WriteGets or sets the transaction signature identifier
StrictboolRead/WriteGets or sets whether parsing enforces strict compliance

Methods

SignatureDescription
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