User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_layer.hidefromlegend

Table of Contents

TGIS_Layer.HideFromLegend property

DK for Java | tatukgis.jdk.TGIS_Layer.HideFromLegend | Constructors | Fields | Methods | Properties | Events

False if the layer should not be visible in the legend.

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

Syntax

// Java
public bool getHideFromLegend();
 
public void setHideFromLegend(
  bool _value
);
// Oxygene
public
  property HideFromLegend : Boolean read write;

Value

Type
bool
Boolean

Remarks

USAGE: Hide layer from legend UI while keeping it rendered. Useful for background layers, helper geometries, or system layers that should not appear in user-facing legend controls.

grid_layer.HideFromLegend = true
background_layer.HideFromLegend = true
# User sees only content layers in legend

2026/09/20 23:57

Page Tools