User Tools

Site Tools


api:dk11:delphi:vcl.gisgdiplus.tgis_gdipgraphics.drawstring_widestring_tgis_gdipfont_tgis_gdipbrush_single_single_tgis_gdipstringformat

Table of Contents

TGIS_GdipGraphics.DrawString(WideString; TGIS_GdipFont; TGIS_GdipBrush; Single; Single; TGIS_GdipStringFormat) method

Syntax

// Delphi
public
  procedure DrawString(
    _s : WideString;
    _font : TGIS_GdipFont;
    _brush : TGIS_GdipBrush;
    _x : Single;
    _y : Single;
    _format : TGIS_GdipStringFormat
  ); overload;
// C++ Builder
public:
  void DrawString(
    WideString* _s,
    TGIS_GdipFont* _font,
    TGIS_GdipBrush* _brush,
    float _x,
    float _y,
    TGIS_GdipStringFormat* _format
  ) /* overload */;

Parameters

Name Type Description
_s WideString text to draw
_font TGIS_GdipFont text format of the text
_brush TGIS_GdipBrush color and texture of the text
_x Single x coordinate of the upper-left corner of the drawn text
_y Single y coordinate of the upper-left corner of the drawn text
_format TGIS_GdipStringFormat formatting attributes of the drawn text

References

2017/09/04 11:18