User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.getrawbitmap_tgis_extent_tgis_pixels_integer_integer

Table of Contents



TGIS_LayerPixel.GetRawBitmap method

DK for Delphi | GisLayerPixel.TGIS_LayerPixel.GetRawBitmap | Constructors | Fields | Methods | Properties | Events

Fills the provided _bitmap array with values for _extent. If the current layer does not fully cover _extent, values outside the layer scope are left unchanged.

Available also on: .NET | Java | ActiveX | Python.

Syntax

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

Parameters

Name Type Description
_extent TGIS_Extent extent covered by the bitmap
_bitmap TGIS_Pixels allocated array whose width-to-height ratio should match the width-to-height ratio of _extent
_width Integer bitmap width in pixels
_height Integer bitmap height in pixels

Result

Type Description
Boolean True if the operation succeeds.

Remarks

Returns bitmap data in layer coordinates without applying a coordinate system transformation.

2026/07/11 00:31

Page Tools