SortingInstructions Property
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets a list of sorting instructions which are used to sort the data rows before merging. To not sort the block data, just leave this property empty or set it to null.
Syntax
public List<SortingInstruction> SortingInstructions { get; set; }Public Property SortingInstructions As List(Of SortingInstruction)Examples
The following example uses MergeBlockInfo.SortingInstructions to configure sorting instructions as part of the merge block info workflow. The change is then applied to the active document or user interface.
mergeBlockInfo.SortingInstructions = new List<TXTextControl.DocumentServer.DataShaping.SortingInstruction>();
mergeBlockInfo.Apply();mergeBlockInfo.SortingInstructions = New List(Of TXTextControl.DocumentServer.DataShaping.SortingInstruction)()
mergeBlockInfo.Apply()