Show: Delphi
C++
Display Preferences
FMX.Types.RectToString
From XE3 API Documentation
Delphi
function RectToString(R: TRectF): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall RectToString(const System::Types::TRectF &R _ANNOT_ATTR_NC);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
Converts the coordinates of the given rectangle to an AnsiString.
For example, if the rectangle specified through the R parameter has the coordinates:
- Left: 100, Top: 200, Right: 300, and Bottom: 400, then RectToString returns
'(100,200,300,400)'. - Left: 100.25, Top: 200.5, Right: 300.25, and Bottom: 400.5, then RectToString returns
'(100.25,200.5,300.25,400.5)'.