TX Text Control .NET Server

BinaryData Property

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

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.