User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_fontfactory.docreate_string_integer_tgis_fontstyles_tgis_color

Table of Contents



TGIS_FontFactory.DoCreate method

DK for Delphi | GisTypesUI.TGIS_FontFactory.DoCreate | Methods

Create a font with the given specification.

Available also on: .NET | Java | ActiveX | Python.

Syntax

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

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:44

Page Tools