RemoveEmptyImages Property
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.asTextControl. WinForms. 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 true.
Syntax
public bool RemoveEmptyImages { get; set; }Public Property RemoveEmptyImages As BooleanExamples
The following example uses MergeSettings.RemoveEmptyImages to configure remove empty images as part of the merge settings workflow. The configured value is checked before the workflow continues.
mergeSettings.RemoveEmptyImages = false;
if (mergeSettings.RemoveEmptyImages)
{
Console.WriteLine("Merge Settings: Remove Empty Images is enabled.");
}mergeSettings.RemoveEmptyImages = False
If mergeSettings.RemoveEmptyImages Then
Console.WriteLine("Merge Settings: Remove Empty Images is enabled.")
End If