TX Spell .NET for Windows Forms

Location Property

Property|Introduced in 9.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Returns the point that represents the upper-left corner of the SpellCheckDialog form in screen coordinates.

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: {spellCheckDialog.Location}");
Console.WriteLine("Spell Check Dialog is ready for use.");

Limitations

Read only.

Remarks

The property returns System.Drawing.Point.Empty, if the dialog was not shown yet.