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.
// C# public Integer SmartSize { get {} }
' VisualBasic Public Property SmartSize As Integer Get End Get End Property
// Oxygene public property SmartSize : Integer read;
| Type |
|---|
| int Integer |
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).