RemoveEmptyImages Property
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Specifies whether images which don't have merge data should be removed from the template or not. The default value is false.
Syntax
public bool RemoveEmptyImages { get; set; }Public Property RemoveEmptyImages As BooleanExamples
The following example uses MailMerge.RemoveEmptyImages to configure remove empty images as part of the mail merge workflow. The configured value is checked before the workflow continues.
mailMerge.RemoveEmptyImages = false;
if (mailMerge.RemoveEmptyImages)
{
Console.WriteLine("Mail Merge: Remove Empty Images is enabled.");
}mailMerge.RemoveEmptyImages = False
If mailMerge.RemoveEmptyImages Then
Console.WriteLine("Mail Merge: Remove Empty Images is enabled.")
End If