User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_layervector.drawscope_string_string

Table of Contents

TGIS_LayerVector.DrawScope method

DK11 for .NET | TatukGIS.NDK.TGIS_LayerVector.DrawScope | Constructors | Fields | Methods | Properties | Events

Draws only shapes that meet a scope criteria.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public bool DrawScope(
  string _query,
  string _style
);
' VisualBasic
Public Function DrawScope(
  ByVal _query As String,
  ByVal _style As String
) As Boolean
// Oxygene
public
  function DrawScope(
    _query : String;
    _style : String
  ) : Boolean;

Parameters

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

Result

Type Description
bool
Boolean
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:17