User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_layervector.cursorshape_integer

Table of Contents

TGIS_LayerVector.cursorShape method

DK11 for .NET | TatukGIS.NDK.TGIS_LayerVector.cursorShape | Constructors | Fields | Methods | Properties | Events

Get current shape.

Available also on: Delphi | Java.

Syntax

// C#
protected virtual TGIS_Shape cursorShape(
  int _cursor
);
' VisualBasic
Protected Overridable Function cursorShape(
  ByVal _cursor As Integer
) As TGIS_Shape
// Oxygene
protected
  function cursorShape(
    _cursor : Integer
  ) : TGIS_Shape; virtual;

Parameters

Name Type Description
_cursor int
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.

2021/12/07 09:03

Page Tools