User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_layervector.drawex_tgis_extent

Table of Contents

TGIS_LayerVector.DrawEx method

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

Draws a layer within a defined extent.

Available also on: .NET | Java.

Syntax

Overrides TGIS_Layer.DrawEx.

// Delphi
public
  function DrawEx(
    const _extent : TGIS_Extent
  ) : Boolean; override;
// C++ Builder
public:
  virtual bool DrawEx(
    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 called by Paint.

When using this operation, never call any function which uses FindFirst..FindNext (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