TX Text Control .NET for WPF

DescriptiveText Property

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

Description

Gets or sets the descriptive text of the image. This property can be used to replace the descriptive text.

Syntax

public string DescriptiveText { get; set; }

Examples

The following example uses ImageMergedEventArgs.DescriptiveText to provide an accessible description for the image merged event args. The configured value is checked before the workflow continues.

imageMergedEventArgs.DescriptiveText = "Quarterly sales by region";
if (!string.IsNullOrWhiteSpace(imageMergedEventArgs.DescriptiveText))
{
    Console.WriteLine($"Descriptive Text: {imageMergedEventArgs.DescriptiveText}");
}