User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_layervector.cursorshapeex_integer

Table of Contents

TGIS_LayerVector.cursorShapeEx method

DK11 for Delphi | GisLayerVector.TGIS_LayerVector.cursorShapeEx | Constructors | Fields | Methods | Properties | Events

Get current shape.

Available also on: .NET | Java.

Syntax

// Delphi
protected
  function cursorShapeEx(
    const _cursor : Integer
  ) : TGIS_Shape; virtual;
// C++ Builder
protected:
  virtual TGIS_Shape* cursorShapeEx(
    const int _cursor
  );

Parameters

Name Type Description
_cursor Integer cursor allocated by cursorOpen()

Result

Type Description
TGIS_Shape Shape itself or nil.

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:16