Skip to main content
Table of Contents

TTMSFNCPlanner.XYToPositionAnchor Method

Returns the position anchor at the specified coordinate.

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

Syntax

FMX.TMSFNCPlanner.hppPascalC++
function XYToPositionAnchor(AX, AY: Single; var AIndex: Integer): string; virtual;
virtual System::UnicodeString __fastcall XYToPositionAnchor(float AX, float AY, int &AIndex);

Parameters

Name Description
AX Horizontal coordinate in control pixels.
AY Vertical coordinate in control pixels.
AIndex Receives the position index associated with the anchor.

Returns

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