User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.tgis_editormode

Table of Contents

TGIS_EditorMode enum

DK for ActiveX | TatukGIS_XDK11.TGIS_EditorMode | Enums

Editor vertex adding mode.

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

Syntax

// C#
public enum TGIS_EditorMode
{
  Default = 0, Reversed = 1, NearestPoint = 2, AfterActivePoint = 3
}
' VisualBasic
Public Enum TGIS_EditorMode
  Default = 0
  Reversed = 1
  NearestPoint = 2
  AfterActivePoint = 3
End Enum
// Oxygene
type
  TGIS_EditorMode = public (
    Default = 0, Reversed = 1, NearestPoint = 2, AfterActivePoint = 3
  );

Members

Name Value Description
Default 0 Editing behavior will be controlled by MouseBegin() _nearest parameter. Usually TGIS_EditorMode.NearestPoint, but after pressing CTRL same as TGIS_EditorMode.AfterActivePoint.
Reversed 1 Editing will be opposite to default. Usually TGIS_EditorMode.AfterActivePoint, but after pressing CTRL same as TGIS_EditorMode.NearestPoint.
NearestPoint 2 Added vertex modifies the nearest line segment or polygon edge.
AfterActivePoint 3 A new vertex is added sequentially (by vertex number) after the last active vertex.

2025/01/31 01:03

Page Tools