TX Text Control .NET for WPF

StringData Property

Property|Introduced in 33.0
Namespace
TXTextControl.DocumentServer.PDF
Package
TXTextControl.TextControl.WPF.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

If the file is a text file, this property returns the text data. If the file is not a text file, this property returns null.

Syntax

public string StringData { get; }

Examples

The following example includes the string data value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"String Data: {embeddedFile.StringData}");
Console.WriteLine("Embedded File is ready for use.");

Limitations

Read only.