User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.findproperpixellock_tgis_extent_tgis_cscoordinatesystem_double_integer_boolean

Table of Contents

TGIS_LayerPixel.findProperPixelLock method

DK11 for Delphi | GisLayerPixel.TGIS_LayerPixel.findProperPixelLock | Constructors | Fields | Methods | Properties | Events

Checks locked pixels.

Available also on: .NET | Java.

Syntax

// Delphi
protected
  function findProperPixelLock(
    const _ext : TGIS_Extent;
    const _cs : TGIS_CSCoordinateSystem;
    const _pixelsize : Double;
    const _band : Integer;
    const _writable : Boolean
  ) : Integer;
// C++ Builder
protected:
  int findProperPixelLock(
    TGIS_Extent* const _ext,
    TGIS_CSCoordinateSystem* const _cs,
    const double _pixelsize,
    const int _band,
    const bool _writable
  );

Parameters

Name Type Description
_ext TGIS_Extent area to be locked; if bigger then layer extent then will be truncated to layer extent
_cs TGIS_CSCoordinateSystem coordinate system of _cs; if nil then same as layer CS
_pixelsize Double minimum requested size of image pixel; by providing 0 a maximum possible resolution will be used
_band Integer band number if specific band is locked or 0
_writable Boolean True when searching for writable lock

Result

Type Description
Integer Index for oLayerList (-1 if not find).
2021/09/28 01:16

Page Tools