MainTextActivated Event
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
Description
Occurs when the main text of the document gets the current text input position from another part of the document, such as a header, a footer or a textframe. The event handler receives an argument of type EventArgs containing data related to this event.
Syntax
public event EventHandler MainTextActivated;Public Event MainTextActivated As EventHandlerExamples
The following example records useful context when main text activated occurs.
textViewGenerator.MainTextActivated += (sender, e) =>
{
Console.WriteLine($"Main Text Activated at {DateTime.Now:u}");
};AddHandler textViewGenerator.MainTextActivated,
Sub(sender, e)
Console.WriteLine($"Main Text Activated at {DateTime.Now:u}")
End Sub