Table of Contents

Method IsUrlAtPoint

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

IsUrlAtPoint(double, double, out string, bool)

Indicates whether text at specified position contains a hyperlink.

public virtual bool IsUrlAtPoint(double x, double y, out string url, bool needUrl)

Parameters

x double

The X-constituent of Point value to check.

y double

The Y-constituent of Point value to check.

url string

Receives text representation of hyperlink under text point.

needUrl bool

Specifies whether method should return hypertext.

Returns

bool

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

IsUrlAtPoint(double, double)

Indicates whether text at specified position is hypertext.

public virtual bool IsUrlAtPoint(double x, double y)

Parameters

x double

The X-constituent of Point value to check.

y double

The Y-constituent of Point value to check.

Returns

bool

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

IsUrlAtPoint(double, double, out string)

Indicates whether text at specified position is hypertext.

public virtual bool IsUrlAtPoint(double x, double y, out string url)

Parameters

x double

The X-constituent of Point value to check.

y double

The Y-constituent of Point value to check.

url string

Receives text representation of url under text point.

Returns

bool

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