## OleDocumentFormat class

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

```csharp
public sealed class OleDocumentFormat
```

## Constructors

| Name | Description |
| --- | --- |
| [OleDocumentFormat](oledocumentformat/)(Guid) | Initializes a new instance of the `OleDocumentFormat` class with the class GUID of the format. |

## Properties

| Name | Description |
| --- | --- |
| static [AdobeAcrobatDocument](../../aspose.email.mapi/oledocumentformat/adobeacrobatdocument/) { get; } | Gets the format of an Adobe Acrobat (PDF) document. |
| static [MicrosoftOfficeExcelWorksheet](../../aspose.email.mapi/oledocumentformat/microsoftofficeexcelworksheet/) { get; } | Gets the format of a Microsoft Excel worksheet. |
| static [MicrosoftOfficeWordDocument](../../aspose.email.mapi/oledocumentformat/microsoftofficeworddocument/) { get; } | Gets the format of a Microsoft Word document. |
| static [MicrosoftOutlookMessage](../../aspose.email.mapi/oledocumentformat/microsoftoutlookmessage/) { get; } | Gets the format of a Microsoft Outlook message. |
| static [MicrosoftPhotoEditor](../../aspose.email.mapi/oledocumentformat/microsoftphotoeditor/) { get; } | Gets the format of a Microsoft Photo Editor image. |
| static [MicrosoftPowerPointPresentation](../../aspose.email.mapi/oledocumentformat/microsoftpowerpointpresentation/) { get; } | Gets the format of a Microsoft PowerPoint presentation. |
| static [Paintbrush](../../aspose.email.mapi/oledocumentformat/paintbrush/) { get; } | Gets the format of a Paintbrush image. |
| static [PictureMetafile](../../aspose.email.mapi/oledocumentformat/picturemetafile/) { get; } | Gets the format of a picture (metafile). |
| static [Unknown](../../aspose.email.mapi/oledocumentformat/unknown/) { get; } | Gets the format used when the document type is not known. |

## Methods

| Name | Description |
| --- | --- |
| override [Equals](../../aspose.email.mapi/oledocumentformat/equals/)(object) | Determines whether the specified object is the same format. |
| override [GetHashCode](../../aspose.email.mapi/oledocumentformat/gethashcode/)() | Returns the hash code of the format. |
| override [ToString](../../aspose.email.mapi/oledocumentformat/tostring/)() | Returns the name of the format. |

### See Also

* namespace [Aspose.Email.Mapi](../../aspose.email.mapi/)
* assembly [Aspose.Email](../../)


