User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_layerpixel.lockpixels_5_itrect_wordbool

Table of Contents

ITGIS_LayerPixel.LockPixels_5 method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_LayerPixel.LockPixels_5 | Methods | Properties

Locks a fragment of the pixel layer for updating.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public ITGIS_LayerPixelLock LockPixels_5(
  ITRect _rct,
  WordBool _writable
);
' VisualBasic
Public Function LockPixels_5(
  ByVal _rct As ITRect,
  ByVal _writable As WordBool
) As ITGIS_LayerPixelLock
// Oxygene
public
  function LockPixels_5(
    _rct : ITRect;
    _writable : WordBool
  ) : ITGIS_LayerPixelLock;

Parameters

Name Type Description
_rct ITRect rectangle on raster to be locked; if bigger then raster size then will be truncated
_writable WordBool if true than layer will post back any changes in locked area; if write is not possible then TGIS_LayerPixelLock.Writable will be set accordingly

Result

Type Description
ITGIS_LayerPixelLock locked area

Remarks

Must be paired with UnlockPixels.

To speed-up operation, the function can return a larger area than requested. Use Bounds property of result value to obtain actual scope.

2020/05/07 01:04

Page Tools