User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_layervector.legendinfo_integer_integer_tgis_paramssectionvector

Table of Contents

TGIS_LayerVector.LegendInfo(Integer; Integer; TGIS_ParamsSectionVector) method

DK11 for Delphi | GisLayerVector.TGIS_LayerVector.LegendInfo | Overloads | Constructors | Fields | Methods | Properties | Events

Returns parameters filled with the renderer styling.

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

Syntax

// Delphi
public
  function LegendInfo(
    const _sectionIdx : Integer;
    const _id : Integer;
    const _params : TGIS_ParamsSectionVector
  ) : Boolean; overload;
// C++ Builder
public:
  bool LegendInfo(
    const int _sectionIdx,
    const int _id,
    TGIS_ParamsSectionVector* const _params
  ) /* overload */;

Parameters

Name Type Description
_sectionIdx Integer index of parameters section to retrieve
_id Integer index of sub legend to be returned (number of legends are determined by RenderZones); negative index indicates extended band (Ex).
_params TGIS_ParamsSectionVector params to be set (must be allocated)

Result

Type Description
Boolean True, if the data has been retrieved properly

Remarks

The Legend property will be set with text representing a zone value.

2023/04/22 17:41

Page Tools