User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_bitmap.lockpixels_tgis_pixels_boolean_tgis_bitmapformat_tgis_bitmaplinesorder

Table of Contents

TGIS_Bitmap.LockPixels(Int32[], bool, TGIS_BitmapFormat, TGIS_BitmapLinesOrder) method

DK for .NET | TatukGIS.NDK.TGIS_Bitmap.LockPixels | Overloads | Constructors | Methods | Properties

Lock and return raw bitmap pixels in the requested format and line order.

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

Syntax

// C#
public void LockPixels(
  ref Int32[] _pixels,
  bool _writable,
  TGIS_BitmapFormat _format,
  TGIS_BitmapLinesOrder _order
);
' VisualBasic
Public Sub LockPixels(
  ByRef _pixels As Int32(),
  ByVal _writable As Boolean,
  ByVal _format As TGIS_BitmapFormat,
  ByVal _order As TGIS_BitmapLinesOrder
)
// Oxygene
public
  procedure LockPixels(
    var _pixels : TGIS_Pixels;
    _writable : Boolean;
    _format : TGIS_BitmapFormat;
    _order : TGIS_BitmapLinesOrder
  );

Parameters

Name Type Description
_pixels Int32[]
TGIS_Pixels
Pixel array that receives the locked bitmap data.
_writable bool
Boolean
If True, requests writable access to the pixel buffer.
_format TGIS_BitmapFormat Bitmap pixel format for the returned buffer.
_order TGIS_BitmapLinesOrder Bitmap line order for the returned buffer.
2026/09/20 23:51

Page Tools