AsSingleDocument Property
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Specifies whether to combine the merge result to a single document. If this is set to true, each merge result is separated from the previous one by a section break and starts at a new page. The default value is false.
Syntax
public bool AsSingleDocument { get; set; }Public Property AsSingleDocument As BooleanExamples
The following example uses MergeSettings.AsSingleDocument to configure as single document as part of the merge settings workflow. The configured value is checked before the workflow continues.
mergeSettings.AsSingleDocument = true;
if (mergeSettings.AsSingleDocument)
{
Console.WriteLine("Merge Settings: As Single Document is enabled.");
}mergeSettings.AsSingleDocument = True
If mergeSettings.AsSingleDocument Then
Console.WriteLine("Merge Settings: As Single Document is enabled.")
End If