User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_layervector.addshape_tgis_shape

TGIS_LayerVector.AddShape(TGIS_Shape) method

DK11 for Delphi | GisLayerVector.TGIS_LayerVector.AddShape | Overloads | Constructors | Fields | Methods | Properties | Events

Adds a copy of shape and makes it editable.

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

Syntax

// Delphi
public
  function AddShape(
    const _shape : TGIS_Shape
  ) : TGIS_Shape; overload;
// C++ Builder
public:
  TGIS_Shape* AddShape(
    TGIS_Shape* const _shape
  ) /* overload */;

Parameters

Name Type Description
_shape TGIS_Shape shape to be added

Result

Type Description
TGIS_Shape Created copy of shape or nil.

Remarks

This function creates a copy of a shape passed as a parameter.

References

2022/11/16 01:22

Page Tools