RemoveEmptyLines Property
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.asTextControl. Core. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
Description
Specifies whether text lines which are empty after merging should be removed from the template or not. The default value is true.
Syntax
public bool RemoveEmptyLines { get; set; }Public Property RemoveEmptyLines As BooleanExamples
The following example uses MergeSettings.RemoveEmptyLines to configure remove empty lines as part of the merge settings workflow. The configured value is checked before the workflow continues.
mergeSettings.RemoveEmptyLines = true;
if (mergeSettings.RemoveEmptyLines)
{
Console.WriteLine("Merge Settings: Remove Empty Lines is enabled.");
}mergeSettings.RemoveEmptyLines = True
If mergeSettings.RemoveEmptyLines Then
Console.WriteLine("Merge Settings: Remove Empty Lines is enabled.")
End If