FMX.Utils.StringToPoint
Delphi
function StringToPoint(S: string): TPointF;
C++
extern DELPHI_PACKAGE System::Types::TPointF __fastcall StringToPoint(System::UnicodeString S);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Utils.pas FMX.Utils.hpp |
FMX.Utils | FMX.Utils |
Description
Returns a TPointF based on the given AnsiString coordinates.
For example, if the coordinates specified through the S
parameter are:
'(100,200)'
, then StringToPoint returns a TPointF with X: 100 and Y: 200.'(100.23999786377,200.634002685547)'
, then StringToPoint returns a TPointF with X: 100.24 and Y: 200.634.