User Tools

Site Tools


api:dk11:delphi:gislayersqldb2.tgis_layersqldb2abstract.cursorshape_integer

Table of Contents

TGIS_LayerSqlDb2Abstract.cursorShape method

DK11 for Delphi | GisLayerSqlDb2.TGIS_LayerSqlDb2Abstract.cursorShape | Constructors | Fields | Methods | Properties

Get current shape.

Available also on: .NET | Java.

Overrides TGIS_LayerVector.cursorShape.

Syntax

// Delphi
protected
  function cursorShape(
    const _cursor : Integer = 0
  ) : TGIS_Shape; override;
// C++ Builder
protected:
  virtual TGIS_Shape* cursorShape(
    const int _cursor
  );

Parameters

Name Type Description
_cursor Integer cursor allocated by cursorOpen()

Result

Type Description
TGIS_Shape

Remarks

cursorShape() will provide proper value only for cursorFirst..cursorNext. For cursorFindFirst..cursorFindNext use value returned by those functions instead.
Use this method to get access to layer shapes. We can locate a shape, change or read its attributes, etc.

2019/02/08 01:14