# File To Image

Converts PDF files to image format.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `FilePath` | `String` | ✅Yes     | PDF file path *(OverloadGroup: "File Path")* |
| `Data`    | `Byte[]` | ✅Yes     | PDF (byte array) *(OverloadGroup: "Data")* |
| `Format`  | `ImageFileFormats?` | ✅Yes     | Image format (png, jpeg, tiff, gif, bmp) |
| `ImageFilePath` | `String` | ❌No      | Output image file path |


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `IsPdfFileToImageSuccessful` | `Boolean` | Success status |
| `PdfFileToImageMessage` | `String` | Operation message / error detail |
| `PdfFileToImageResult` | `Byte[]` | Image data (byte array) |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Specifies whether an exception is thrown when the operation fails. The default value is "**No**". |