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.


// 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. Normally called by PaintScope.

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.).

2020/05/07 01:04