TX Text Control .NET for Windows Forms

BinaryData Property

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

Description

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

Syntax

public byte[] BinaryData { get; }

Examples

The following example iterates through the binary data collection and processes each byte.

foreach (byte byteValue in embeddedFile.BinaryData)
{
    Console.WriteLine(byteValue);
}

Limitations

Read only.