CfbDocument
Overview
CfbDocument is a class in Aspose.Email FOSS for .NET.
CfbDocument.CfbDocument creates an empty CfbDocument instance.
Description
CfbDocument is a class in the Aspose.Email FOSS library for .NET that exposes 3 methods and 4 properties for programmatic use.
The class also provides the Root property (gets the root cfbstorage of the document).
The class offers 2 constructor overloads, allowing flexible initialization depending on the calling context.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Root | CfbStorage | Read | Gets the root CfbStorage of the document |
MajorVersion | ushort | Read/Write | Returns the document’s major version number |
MinorVersion | ushort | Read/Write | Returns the document’s minor version number |
TransactionSignatureNumber | uint | Read/Write | Provides the document’s transaction signature number |
Methods
| Signature | Description |
|---|---|
CfbDocument() | Initializes a document with a root storage, major/minor versions, and a transaction signature number |
CfbDocument(root: CfbStorage, majorVersion: ushort, minorVersion: ushort, transactionSignatureNumber: uint) | |
FromReader(reader: CfbReader) | Creates a CfbDocument by reading data from the given CfbReader |
FromFile(path: string) | Loads a CfbDocument from the file at the specified path |
FromStream(stream: Stream) | Creates a CfbDocument by reading the supplied stream |