Skip to main content
Table of Contents

TTMSFNCPlanner.XYToItemAnchor Method

Returns the item anchor at the specified coordinate.

API unit family: TMSFNCPlanner Declaring type: TTMSFNCPlanner Inherited from: TTMSFNCCustomPlanner

Syntax

FMX.TMSFNCPlanner.hppPascalC++
function XYToItemAnchor(AItem: TTMSFNCPlannerItem; AX, AY: Single): String; virtual;
virtual System::UnicodeString __fastcall XYToItemAnchor(TTMSFNCPlannerItem* AItem, float AX, float AY);

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.