StringData Property
- Namespace
TXTextControl.DocumentServer. PDF
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public ReadOnly Property StringData As StringExamples
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.");Console.WriteLine($"String Data: {embeddedFile.StringData}")
Console.WriteLine("Embedded File is ready for use.")Limitations
Read only.