User Tools

Site Tools


Table of Contents

ITGIS_LayerVector.DrawScope method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_LayerVector.DrawScope | Methods | Properties

Draws only shapes that meet a scope criterion.

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


// C#
public WordBool DrawScope(
  WideString _query,
  WideString _style
' VisualBasic
Public Function DrawScope(
  ByVal _query As WideString,
  ByVal _style As WideString
) As WordBool
// Oxygene
  function DrawScope(
    _query : WideString;
    _style : WideString
  ) : WordBool;


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


Type Description
WordBool True if something was drawn.


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.

2022/11/16 01:10

Page Tools