TX Text Control .NET Server

Activate Method

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

Description

Activates the drawing so that its contents can be edited. A drawing can only be activated, if the text part that contains the drawing has the input focus.

Syntax

public bool Activate();

Return Value

The return value is true, if the drawing could be activated. Otherwise it is false.

Examples

The following example activates the drawing frame.

if (drawingFrame.Activate())
{
    Console.WriteLine("Activate completed successfully.");
}