User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.smartsize

Table of Contents

ITGIS_Shape.SmartSize property

DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.SmartSize | Methods | Properties

Visual size of shape for display purposes. Determines if shape is large enough to be visible at current zoom level.

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

Syntax

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

Value

Type
int
Integer

Remarks

PURPOSE: Estimate shape visibility (rendered pixel area at current zoom). Enables zoom-aware LOD selection and rendering optimization (skip tiny shapes).

BEHAVIOR: Computed from extent and viewer zoom level. Accounts for projection distortion and screen size. Returns approximate pixel count.

USAGE: Visibility culling:if shape.SmartSize > 2 then Render; LOD selection:detail := SmartSize / 100;

CONSTRAINTS: Read-only. Requires valid Viewer (returns 0 if Nil). Approximate value (zoom/projection dependent).

2026/07/03 01:24

Page Tools