# EmbeddedFile.HasBinaryData Property

> Gets a value indicating whether the embedded file has binary data.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 33.0
- **Namespace:** `TXTextControl.DocumentServer.PDF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.DocumentServer.PDF > EmbeddedFile.HasBinaryData Property
- **307 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/embeddedfile/hasbinarydata-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/embeddedfile/hasbinarydata-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/embeddedfile/hasbinarydata-property/llms-full.txt

---

### Description

Gets a value indicating whether the embedded file has binary data.

### Syntax

```csharp
public bool HasBinaryData { get; }
```

```vbnet
Public ReadOnly Property HasBinaryData As Boolean
```

### Examples

The following example checks the has binary data state before recording the object's current status.

```csharp
if (embeddedFile.HasBinaryData)
{
    Console.WriteLine("Embedded File is ready for this operation.");
}
```

```vbnet
If embeddedFile.HasBinaryData Then
    Console.WriteLine("Embedded File is ready for this operation.")
End If
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [EmbeddedFile.FileName Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/embeddedfile/filename-property/llms-full.txt)
- **Next:** [EmbeddedFile.HasStringData Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/embeddedfile/hasstringdata-property/llms-full.txt)
