User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_layervector.drawselectedex_tgis_extent

Table of Contents

TGIS_LayerVector.DrawSelectedEx method

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

Draws only the selected item(s) on layer that are within a defined extent.

Available also on: .NET | Java.

Syntax

Overrides TGIS_Layer.DrawSelectedEx.

// Delphi
public
  function DrawSelectedEx(
    const _extent : TGIS_Extent
  ) : Boolean; override;
// C++ Builder
public:
  virtual bool DrawSelectedEx(
    TGIS_Extent* const _extent
  );

Parameters

Name Type Description
_extent TGIS_Extent extent to be drawn

Result

Type Description
Boolean True if draw was performed

Remarks

Use this method to draw a layer. Normally this method is called by Paint.

When using this operation, never call any function which uses FindFirst..FindNext (i.e., any function which iterates through the shapes using it). So never use inside an operation like Locate, PaintScope etc.

See Paint for example.

2020/05/07 01:09

Page Tools