User Tools

Site Tools


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

Table of Contents

TGIS_BitmapFactoryFMX.DoCreateFromResource method

DK11 for Delphi | FMX.GisFramework.TGIS_BitmapFactoryFMX.DoCreateFromResource | Methods

Create bitmap from resource.

Overrides TGIS_BitmapFactory.DoCreateFromResource.

Syntax

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

Parameters

Name Type Description
_ref IntPtr module handle; to load DK standard resource use 0; see remarks for TGIS_Bitmap.LoadFromResourceName for more
_name String name of the resource

Result

Type Description
TGIS_BitmapAbstract created bitmap
2018/09/21 15:37