Table of Contents

Method IsUrlAtTextPoint

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

IsUrlAtTextPoint(int, int, out string)

Indicates whether text at specified position is hypertext.

public virtual bool IsUrlAtTextPoint(int x, int y, out string url)

Parameters

x int

The X-constituent of Point value to check in text coordinates.

y int

The Y-constituent of Point value to check in text coordinates.

url string

Receives text representation of url under text point.

Returns

bool

True if text at given position is hypertext; otherwise false.

IsUrlAtTextPoint(int, int, out string, bool)

protected virtual bool IsUrlAtTextPoint(int x, int y, out string url, bool needUrl)

Parameters

x int
y int
url string
needUrl bool

Returns

bool