User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_layervector.drawscope_string_string

Table of Contents

TGIS_LayerVector.DrawScope method

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

Draws only shapes that meet a scope criterion.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  function DrawScope(
    const _query : String;
    const _style : String
  ) : Boolean;
// C++ Builder
public:
  bool DrawScope(
    const UnicodeString _query,
    const UnicodeString _style
  );

Parameters

Name Type Description
_query String Query closely mimics the SQL WHERE clause
_style String Name of the style to be used. If Empty, default style will be used.

Result

Type Description
Boolean True if something was drawn.

Remarks

Use this method to draw only shapes that meet a scope criteria.

This operation can only be used in the context of the renderer, i.e. only inside handlers of the following events: BeforePaint, BeforePaintRenderer, PaintLayer, PaintExtra, AfterPaintRenderer, AfterPaint.

2020/12/18 01:08

Page Tools