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

Available also on: Delphi | .NET | Java.

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

2019/09/27 01:05