StoreBlockMetaData Method
- Namespace
TXTextControl.DocumentServer. Windows. Forms
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Stores filters and sorting instructions created with the dialog in a SubTextPart object if the SubTextPart is a merge block. Throws an exception if the SubTextPart object is not a merge block.
Syntax
public void StoreBlockMetaData(SubTextPart subTextPart);Public Sub StoreBlockMetaData(subTextPart As SubTextPart)Parameters
| Parameter | Description |
|---|---|
| subTextPart | The SubTextPart object to add the filters and sorting instructions to. |
Examples
The following example uses Store Block Meta Data in a focused Filter And Sort Dialog workflow. The created object is then available to the surrounding document workflow.
filterAndSortDialog.StoreBlockMetaData(new SubTextPart("CustomerName", 100));
Console.WriteLine("Filter And Sort Dialog is ready for use.");filterAndSortDialog.StoreBlockMetaData(New SubTextPart("CustomerName", 100))
Console.WriteLine("Filter And Sort Dialog is ready for use.")