TX Text Control .NET Server

Execute Method

Method|Introduced in 21.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

Executes the menu item. When the menu item opens a dialog box, the method creates and returns a DialogViewGenerator object. Otherwise it performs changes in the document.

Syntax

public DialogViewGenerator Execute();

Examples

The following example uses Execute in a focused Menu Item workflow.

var result = menuItem.Execute();
Console.WriteLine($"Execute result: {result}");