DK for Delphi | FMX.GisControlLegend.TGIS_ControlLegend.ControlStyleGetTextExtent | Constructors | Methods | Properties | Events
Gets the text extent.
Available also on: .NET WinForms | Java.
Implements IGIS_LegendParent.ControlStyleGetTextExtent.
// Delphi protected function ControlStyleGetTextExtent( const _selected : Boolean; const _text : String ) : TPoint;
// C++ Builder protected: TPoint* ControlStyleGetTextExtent( const bool _selected, const UnicodeString _text );
| Name | Type | Description |
|---|---|---|
| _selected | Boolean | True if the node is selected. |
| _text | String | Text to measure. |
| Type | Description |
|---|---|
| TPoint | Text extent in pixels. |
Do not call this method directly. Method is only for internal Legend/Parent communication.