Class OleDocumentFormat

OleDocumentFormat class

The format of an OLE document embedded in an attachment, identified by its class GUID.

public sealed class OleDocumentFormat

Constructors

NameDescription
OleDocumentFormat(Guid)Initializes a new instance of the OleDocumentFormat class with the class GUID of the format.

Properties

NameDescription
static AdobeAcrobatDocument { get; }Gets the format of an Adobe Acrobat (PDF) document.
static MicrosoftOfficeExcelWorksheet { get; }Gets the format of a Microsoft Excel worksheet.
static MicrosoftOfficeWordDocument { get; }Gets the format of a Microsoft Word document.
static MicrosoftOutlookMessage { get; }Gets the format of a Microsoft Outlook message.
static MicrosoftPhotoEditor { get; }Gets the format of a Microsoft Photo Editor image.
static MicrosoftPowerPointPresentation { get; }Gets the format of a Microsoft PowerPoint presentation.
static Paintbrush { get; }Gets the format of a Paintbrush image.
static PictureMetafile { get; }Gets the format of a picture (metafile).
static Unknown { get; }Gets the format used when the document type is not known.

Methods

NameDescription
override Equals(object)Determines whether the specified object is the same format.
override GetHashCode()Returns the hash code of the format.
override ToString()Returns the name of the format.

See Also