User Tools

Site Tools


api:dk11:delphi:giseditor.tgis_editor.createpart_tgis_point3d

Table of Contents

TGIS_Editor.CreatePart method

DK11 for Delphi | GisEditor.TGIS_Editor.CreatePart | Constructors | Methods | Properties | Events

Create and activate the editing procedure for a new part for the current shape.

Available also on: .NET | Java | ActiveX.

Syntax

Implements IGIS_Editor.CreatePart.

// Delphi
public
  procedure CreatePart(
    const _ptg : TGIS_Point3D
  );
// C++ Builder
public:
  void CreatePart(
    TGIS_Point3D* const _ptg
  );

Parameters

Name Type Description
_ptg TGIS_Point3D "starting" point of a new part to be created; expected Viewer coordinate system

Example

Delphi

procedure MyClass.mnuAddPartClick(const _ptg : TGIS_Point3D );
begin
 
  // let's create a new part starting at _ptg
  GIS.Editor.CreatePart( _ptg ) ;
 
  // here we delete our new part
  GIS.Editor.DeletePart;
end;
2020/05/07 01:07

Page Tools