User Tools

Site Tools


api:dk11:delphi:gisclasses.tgis_editorsnaptype

Table of Contents

TGIS_EditorSnapType enum

DK11 for Delphi | GisClasses.TGIS_EditorSnapType | Enums

Editor snap type.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
type
  TGIS_EditorSnapType = (
    Point, Line, Custom, PointOverLine, EndPoint, Midpoint, Perpendicular, GridPoint
  );
// C++ Builder
enum DECLSPEC_DENUM TGIS_EditorSnapType unsigned short {
  Point, Line, Custom, PointOverLine, EndPoint, Midpoint, Perpendicular, GridPoint
};

Members

Name Value Description
Point Snap to point (vertex).
Line Snap to edge (closest place on edge).
Custom Custom snap to user defined point from event.
PointOverLine Snap to point (vertex) over edge (closest place on edge).
EndPoint Snap to first or last point (vertex) of a line shape.
Midpoint Snap to the midpoint of line or polygon segments.
Perpendicular Snap to the point on the closest line or polygon segment that creates a perpendicular line from last point.
GridPoint Snap to grid points defined by grid spacing.

2019/07/19 22:41