User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.lockestimate_tgis_extent_tgis_cscoordinatesystem_double

Table of Contents

TGIS_LayerPixel.LockEstimate method

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

Estimates memory size for pixel layer to be update.

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

Syntax

// Delphi
public
  function LockEstimate(
    const _ext : TGIS_Extent;
    const _cs : TGIS_CSCoordinateSystem;
    const _pixelsize : Double
  ) : Integer;
// C++ Builder
public:
  int LockEstimate(
    TGIS_Extent* const _ext,
    TGIS_CSCoordinateSystem* const _cs,
    const double _pixelsize
  );

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;

Result

Type Description
Integer estimated size

Remarks

this particular implementation is valid only for in-memory layers

2022/11/16 01:19

Page Tools