TX Text Control .NET Server

SortingInstructions Property

Property|Introduced in 26.0
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.Core.SDK as TXDocumentServer.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll

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; }

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();