User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_shape.isnewshape

Table of Contents

TGIS_Shape.IsNewShape property

DK for Java | tatukgis.jdk.TGIS_Shape.IsNewShape | Constructors | Fields | Methods | Properties

Shape is newly created in memory and was not loaded from stored layer data.

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

Syntax

// Java
public bool getIsNewShape();
// Oxygene
public
  property IsNewShape : Boolean read;

Value

Type
bool
Boolean

Remarks

PURPOSE: Distinguish programmatically created shapes from shapes loaded from a file, database, or other vector layer source.

BEHAVIOR: Returns True for shapes created as new objects in the current editing session. Returns False for shapes that originate from existing persisted data.

CONSTRAINTS: Read-only. Set by the framework when the shape instance is created or loaded.

2026/07/11 01:35

Page Tools