User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_bitmapfactory.docreatefromresource_tgis_bitmap_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 | Python.

Syntax

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

Parameters

Name Type Description
_parent TGIS_Bitmap master TGIS_Bitmap object
_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
2022/12/21 01:16

Page Tools