User Tools

Site Tools


api:dk11:delphi:fmx.gisframework.tgis_fontfactoryfmx.docreate_string_integer_tgis_fontstyles_tgis_color

Table of Contents



TGIS_FontFactoryFMX.DoCreate method

DK for Delphi | FMX.GisFramework.TGIS_FontFactoryFMX.DoCreate | Methods

Create a font with the given specification.

Syntax

Overrides TGIS_FontFactory.DoCreate.

// Delphi
public
  function DoCreate(
    const _name : String;
    const _size : Integer;
    const _style : TGIS_FontStyles;
    const _color : TGIS_Color
  ) : TGIS_Font; override;
// C++ Builder
public:
  virtual TGIS_Font* DoCreate(
    const UnicodeString _name,
    const int _size,
    TGIS_FontStyles* const _style,
    TGIS_Color* const _color
  );

Parameters

Name Type Description
_name String name of the font
_size Integer size of the font in points
_style TGIS_FontStyles style of the font
_color TGIS_Color color of the font

Result

Type Description
TGIS_Font Created font object.
2026/07/11 00:18

Page Tools