# Criteria for launching an application

The `criteria` object specifies the application to launch.

The `criteria` object has three main properties: `Document`, `MimeType`, and `Options`. These are described in the following table. Properties enclosed in brackets are optional.

Table: Criteria
Property | Description | Type | Value
--- | --- | --- | ---
`criteria.Document` | Specifies the document to launch. If `MIMEType` is not specified, this property is mandatory. | object | Object with the properties specified below
`criteria.Document.DocumentPath` | Specifies the full path and file name of the document to launch. | string | For example, `"C:\\Data\\abc.txt"`.
`criteria.MIMEType` | Specifies the MIME type of the application to launch. If `MIMEType` is specified, the application being launched determines whether a new document is created. If `Document` is not specified, this property is mandatory. | string | For example: `image/jpg`.
`[criteria.Options]` | Specifies the mode for launching the application based on the given `Document` or `MimeType`. | object | Object with the properties specified below.
`criteria.Options.Mode` | Specifies whether the launched application is embedded within the application that called `LaunchDoc` (chained) or whether the applications are independent of each other (stand-alone). For more information on chained and stand-along applications, see section Accessing and launching installed applications. If this property is not specified, the default is `"Standalone"`. | string | Possible values: `"Chained"` - the application is embedded within the application that called `LaunchDoc`. `"Standalone"` - the applications are independent of each other.