TX Text Control .NET Server

DocumentTargetCreated Event

Event|Introduced in 28.0
Namespace
TXTextControl
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

Occurs when a document target has been created. The event handler receives an argument of type DocumentTargetEventArgs containing data related to this event.

Syntax

public event DocumentTargetEventHandler DocumentTargetCreated;

Examples

The following example records useful context when document target created occurs.

textControl.DocumentTargetCreated += (sender, e) =>
{
    Console.WriteLine($"Document Target Created at {DateTime.Now:u}");
};