TX Text Control .NET Server

Location Property

Property|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

Gets the caret's location in pixels.

Syntax

public Point Location { get; }

Examples

The following example includes the location value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Location: {caretStateEventArgs.Location}");
Console.WriteLine("Caret State Event Args is ready for use.");

Limitations

Read only.