TX Text Control .NET for Windows Forms

Images Property

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

Description

Gets a collection of all images contained in the main text of the document. The property's value is an object of the type ImageCollection.

Syntax

public ImageCollection Images { get; }

Examples

The following example gives every document image an accessible description before export.

foreach (TXTextControl.Image image in textControl.Images)
{
    if (string.IsNullOrWhiteSpace(image.DescriptiveText))
    {
        image.DescriptiveText = "Document illustration";
    }
}

Limitations

Runtime only.

Read only.