User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.getbitmap_tgis_extent_tgis_pixels_integer_integer

Table of Contents

TGIS_LayerPixel.GetBitmap method

DK11 for Delphi | GisLayerPixel.TGIS_LayerPixel.GetBitmap | Constructors | Fields | Methods | Properties | Events

Fills provided _bitmap array with values defined by _extent. If the current layer does not fully cover the _extent then values outside the layer scope should be left untouched.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  function GetBitmap(
    const _extent : TGIS_Extent;
    const _bitmap : TGIS_Pixels;
    const _width : Integer;
    const _height : Integer
  ) : Boolean; virtual;
// C++ Builder
public:
  virtual bool GetBitmap(
    TGIS_Extent* const _extent,
    TGIS_Pixels* const _bitmap,
    const int _width,
    const int _height
  );

Parameters

Name Type Description
_extent TGIS_Extent extent of the _bitmap
_bitmap TGIS_Pixels allocated array (width/height ratio of the _bitmap should be the same as width/height ration of the _extent)
_width Integer width of the _bitmap
_height Integer height of the _bitmap

Result

Type Description
Boolean True if success

Remarks

Function provide data with coordinate system applied.

2020/05/07 01:08

Page Tools