# ActionConvertToPDF

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ActionConvertToPDF/

The properties of a Convert to PDF action in a workflow state.

- **Full name:** `MFiles.ActionConvertToPDF`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-use_pdf_archiving_standard"></a>`use_pdf_archiving_standard` | `bool` | 1 | True if the resulting PDF file should comply with archiving standards. Currently this results in PDFS using the PDF/A-1b standard. |
| <a id="f-store_as_separate_file"></a>`store_as_separate_file` | `bool` | 2 | True if the resulting PDF file should be stored as a separate file, with the same title as the original file but with the .pdf extension. |
| <a id="f-overwrite_existing_file"></a>`overwrite_existing_file` | `bool` | 3 | True if overwriting an existing target file with the same name is allowed. Effective only if bStoreAsSeparateFile is true. |
| <a id="f-fail_on_unsupported_source_files"></a>`fail_on_unsupported_source_files` | `bool` | 4 | If true, the operation fails if the source file is in unsupported format. If false, the operation silently skips unsupported source files. |

<a id="used-in-fields"></a>

## Used in fields

- [`State.action_convert_to_pdf`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.State/index.md#f-action_convert_to_pdf): Action: convert to PDF.
