User Tools

Site Tools


api:dk11:python:tatukgis_pdk.tgis_bitmap.lockpixels_tgis_pixels_boolean_tgis_bitmapformat_tgis_bitmaplinesorder

Table of Contents



TGIS_Bitmap.LockPixels(TGIS_Pixels, bool, TGIS_BitmapFormat, TGIS_BitmapLinesOrder) method

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

Syntax

# Python
def LockPixels(
  self,
  _pixels: VarParameter,
  _writable: bool,
  _format: TGIS_BitmapFormat,
  _order: TGIS_BitmapLinesOrder
) -> None: 

Parameters

Name Type Description
_pixels TGIS_Pixels Pixel array that receives the locked bitmap data.
_writable bool 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/10/31 22:49

Page Tools