> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# BinaryFile

> The BinaryFile interface provides access to file data in binary format — typically the pre-preprocessing source image of a document or page.

The `BinaryFile` interface provides access to file data in binary format. This object contains the image before preprocessing.

## Properties

| Name         | Type   | Access    | Description           |
| :----------- | :----- | :-------- | :-------------------- |
| **FileName** | string | Read-only | The name of the file. |

## Methods

### ConvertToBase64

```javascript theme={null}
string ConvertToBase64();
```

Returns the file data converted from binary to a Base64-encoded string.

## Related topics

* [Document](/vantage/documentation/skill-designer/process/custom-activity/document)
* [Page](/vantage/documentation/skill-designer/process/custom-activity/page)
* [Object model](/vantage/documentation/skill-designer/process/custom-activity/object-model)
