User Tools

Site Tools


api:dk11:delphi:fmx.gisframework.tgis_bitmapfactoryfmx.docreatefromresource_tgis_bitmap_intptr_string

Table of Contents



TGIS_BitmapFactoryFMX.DoCreateFromResource(TGIS_Bitmap; IntPtr; String) method

DK for Delphi | FMX.GisFramework.TGIS_BitmapFactoryFMX.DoCreateFromResource | Overloads | Constructors | Methods | Properties

Create a bitmap from a resource.

Syntax

Overrides TGIS_BitmapFactory.DoCreateFromResource.

// Delphi
public
  function DoCreateFromResource(
    const _parent : TGIS_Bitmap;
    const _ref : IntPtr;
    const _name : String
  ) : TGIS_BitmapAbstract; overload; override;
// C++ Builder
public:
  virtual TGIS_BitmapAbstract* DoCreateFromResource(
    TGIS_Bitmap* const _parent,
    IntPtr* const _ref,
    const UnicodeString _name
  ) /* overload */;

Parameters

Name Type Description
_parent TGIS_Bitmap owning TGIS_Bitmap object
_ref IntPtr module handle; use 0 to load a standard DK resource; see TGIS_Bitmap.LoadFromResourceName remarks for details
_name String resource name

Result

Type Description
TGIS_BitmapAbstract created bitmap implementation
2026/07/11 00:18

Page Tools