User Tools

Site Tools


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

Table of Contents

TGIS_LayerVector.DrawSelectedEx method

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

Draws only the selected item(s) on layer that are within a defined extent.

Available also on: Delphi | Java.

Syntax

Overrides TGIS_Layer.DrawSelectedEx.

// C#
public bool DrawSelectedEx(
  TGIS_Extent _extent
);
' VisualBasic
Public Function DrawSelectedEx(
  ByVal _extent As TGIS_Extent
) As Boolean
// Oxygene
public
  function DrawSelectedEx(
    _extent : TGIS_Extent
  ) : Boolean; override;

Parameters

Name Type Description
_extent TGIS_Extent extent to be drawn

Result

Type Description
bool
Boolean
True if draw was performed

Remarks

Use this method to draw a layer. Normally this method is called by Paint.

When using this operation, never call any function which uses FindFirst..FindNext (i.e., any function which iterates through the shapes using it). So never use inside an operation like Locate, PaintScope etc.

See Paint for example.

2020/05/07 01:18