User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_layervector.drawscope_widestring_widestring

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.

Syntax

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

Parameters

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.

Result

Type Description
WordBool 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.

2022/11/16 01:10

Page Tools