User Tools

Site Tools


api:dk11:delphi:gislayer.tgis_layer.issectioninvisibilityrange_tgis_paramssection

Table of Contents

TGIS_Layer.isSectionInVisibilityRange method

DK11 for Delphi | GisLayer.TGIS_Layer.isSectionInVisibilityRange | Constructors | Fields | Methods | Properties | Events

Checks whether the section is visible by testing layer properties: Level with MinLevel/MaxLevel, ScaleAsFloat with MinScale/MaxScale, and Zoom with MinZoom/MaxZoom.

Available also on: .NET | Java.

Syntax

// Delphi
protected
  function isSectionInVisibilityRange(
    const _sec : TGIS_ParamsSection
  ) : Boolean;
// C++ Builder
protected:
  bool isSectionInVisibilityRange(
    TGIS_ParamsSection* const _sec
  );

Parameters

Name Type Description
_sec TGIS_ParamsSection a params section to test for the visibility

Result

Type Description
Boolean True if section is visible for current iewer Level / Scale / Zoom, False oterwise
2022/04/15 21:49

Page Tools