User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.addpoint_itgis_point

Table of Contents

ITGIS_Shape.AddPoint method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Shape.AddPoint | Methods | Properties

Add a point to the last part of the shape.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public void AddPoint(
  ITGIS_Point _ptg
);
' VisualBasic
Public Sub AddPoint(
  ByVal _ptg As ITGIS_Point
)
// Oxygene
public
  procedure AddPoint(
    _ptg : ITGIS_Point
  );

Parameters

Name Type Description
_ptg ITGIS_Point point to be added

Remarks

Internal representation of a shape is the same as in the SHP file. If you want to set a new geometry, this will call Reset, AddPart, AddPoint...AddPoint. For TGIS_ShapePoint, only one Part and one Point is allowed.

See TGIS_Shape.Lock for details and example.

Adds a new 2D (X,Y) point value, specified as TGIS_Point record value, to a specific part of the shape. The new point is added at the end of specified part of the shape

References

2020/05/28 09:04

Page Tools