TX Text Control .NET for Windows Forms

EmbeddedFiles Property

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

Description

Specifies an array of EmbeddedFile objects which will be embedded in the saved document. Each file must be specified through a name and its data.

Syntax

public EmbeddedFile[] EmbeddedFiles { get; set; }

Examples

The following example inspects embedded files supplied by the load/save operation.

foreach (EmbeddedFile file in loadSaveSettingsBase.EmbeddedFiles)
{
    Console.WriteLine($"Embedded file: {file.FileName} ({file.MIMEType})");
}

Limitations

PDF and PDF/A only.