Show: Delphi C++
Display Preferences

FMX.Types.StringToPoint

From XE3 API Documentation
Jump to: navigation, search

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.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

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.

See Also

Personal tools
Translations