Table of Contents

TTMSFNCCustomPlanner.XYToItemAnchor Method

Returns the item anchor at the specified coordinate.

API unit family: TMSFNCPlanner Declaring type: TTMSFNCCustomPlanner

Syntax

function XYToItemAnchor(AItem: TTMSFNCPlannerItem; AX, AY: Single): String; virtual;

Parameters

Name Description
AItem Item whose text is inspected for anchors.
AX Horizontal coordinate in control pixels.
AY Vertical coordinate in control pixels.

Returns

The anchor identifier at the coordinate, or an empty string.