# EmbeddedFile.HasStringData Property

> Gets a value indicating whether the embedded file has text 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.HasStringData Property
- **306 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/embeddedfile/hasstringdata-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/embeddedfile/hasstringdata-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/embeddedfile/hasstringdata-property/llms-full.txt

---

### Description

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

### Syntax

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

```vbnet
Public ReadOnly Property HasStringData As Boolean
```

### Examples

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

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

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

### Limitations

Read only.

---

## Nearby

- **Previous:** [EmbeddedFile.HasBinaryData Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/embeddedfile/hasbinarydata-property/llms-full.txt)
- **Next:** [EmbeddedFile.LastModificationDate Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/embeddedfile/lastmodificationdate-property/llms-full.txt)
