User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_layerpixel.getrawbitmap_tgis_extent_tgis_pixels_integer_integer

Table of Contents

TGIS_LayerPixel.GetRawBitmap method

DK11 for .NET | TatukGIS.NDK.TGIS_LayerPixel.GetRawBitmap | 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: Delphi | Java | ActiveX.

Syntax

// C#
public bool GetRawBitmap(
  TGIS_Extent _extent,
  Int32[] _bitmap,
  int _width,
  int _height
);
' VisualBasic
Public Function GetRawBitmap(
  ByVal _extent As TGIS_Extent,
  ByVal _bitmap As Int32(),
  ByVal _width As Integer,
  ByVal _height As Integer
) As Boolean
// Oxygene
public
  function GetRawBitmap(
    _extent : TGIS_Extent;
    _bitmap : TGIS_Pixels;
    _width : Integer;
    _height : Integer
  ) : Boolean; virtual;

Parameters

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

Result

Type Description
bool
Boolean
True if success

Remarks

Function provide data without coordinate system applied.

2020/05/07 01:17

Page Tools