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

NameTypeAccessDescription
RootCfbStorageReadGets the root CfbStorage of the document
MajorVersionushortRead/WriteReturns the document’s major version number
MinorVersionushortRead/WriteReturns the document’s minor version number
TransactionSignatureNumberuintRead/WriteProvides the document’s transaction signature number

Methods

SignatureDescription
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

See Also