User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_shape.parttypessize

Table of Contents

TGIS_Shape.PartTypesSize property

DK for .NET | TatukGIS.NDK.TGIS_Shape.PartTypesSize | Constructors | Fields | Methods | Properties

Size in bytes of raw part types buffer. Used for calculating part type count and bulk I/O.

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

Syntax

// C#
public Integer PartTypesSize
{
  get {}
}
' VisualBasic
Public Property PartTypesSize As Integer
  Get
  End Get
End Property
// Oxygene
public
  property PartTypesSize : Integer read;

Value

Type
int
Integer

Remarks

PURPOSE:Query size of part types storage (in bytes). Essential for calculating PartCount, bulk copy/write, and memory management.

BEHAVIOR:Returns byte size of PartTypes buffer. PartCount = PartTypesSize / 1 (1 byte per part type). Updated when parts modified.

USAGE:Part count:count := PartTypesSize;Copy types:CopyMemory(dest, @PartTypes, PartTypesSize);

CONSTRAINTS:Read-only. Bytes (one per part). Zero for non-polygon shapes. Updated on geometry modification.

2026/06/12 23:10

Page Tools