User Tools

Site Tools


api:dk11:python:tatukgis_pdk.tgis_shape.drawlabel_void

Table of Contents

TGIS_Shape.DrawLabel method

Renders the shape label using the current layer labeling settings.

Syntax

# Python
def DrawLabel(
  self
) -> None: 

Remarks

PURPOSE: Draw the label associated with the current shape for map display, annotation, or thematic presentation.

BEHAVIOR: Uses the active layer labeling parameters, including text content, placement, and formatting, and renders the label immediately to the current viewer.

CONSTRAINTS: Do not call this method inside FindFirst..FindNext or similar cursor iteration contexts. Requires an active viewer rendering context.

References

2026/07/10 23:59

Page Tools