KeyView 24.1

# DocumentClass

Indicates which general class the currently opened document belongs to. This property is read-only.

The classes are as follows:

`1` – Text document (ASCII) | `6` – Fax document (FAX)
`2` – Word processor document (WP) | `7` – Presentation (PG)
`3` – Spreadsheet document (SS) | `8` – Archive document
`4` – Image (Image) | `9` – Other
`5` – Multimedia document (MM) |

The document class is useful to determine whether a specific set of properties is applicable to the currently opened document. The codes specified in the brackets above are prefixes used for all persistent properties specific to that document type.

For example, a multimedia document has a `DocumentClass` of 5, and the properties `MMPlayOption` and `MMScaleMovie` are relevant only to multimedia documents. The value of these properties is ignored for any other kind of document.

The one exception to the above rule is the `WPPageLayout` property, which is applicable to both text and word processor documents.

## Returns

Type | Description
--- | ---
Short | The document class (a value of `1` through `9`, as described above).

Copyright 2016-2023 Open Text
Version 24.1 | Last updated December 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL KeyView 24.1

Topic Title: DocumentClass