User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_bitmapfactory.docreatefromresource_intptr_string

Table of Contents

TGIS_BitmapFactory.DoCreateFromResource method

DK11 for Delphi | GisTypesUI.TGIS_BitmapFactory.DoCreateFromResource | Methods

Create bitmap from resource.

Available also on: .NET | Java.

Syntax

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

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 17:26