MapWinGIS:Shapefile Selection

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

Table of contents

Contents


Methods and Properties

InvertSelection

Toggles the state of selection of each shape in the shapefile. Selected shapes will become unselected, the shapes free of selection will fall into it.

Syntax

return


NumSelected

Number of selected shapes in the current shapefile.

Syntax

return


SelectAll

Selects all shapes in the shapefile. Selected shapes are drawn using options defined by SelectionDrawingOptions property.

Syntax

return


SelectionDrawingOptions

A reference to the class which holds the drawing options of the selected shapes. It???s impossible to set empty value (NULL) to this property. Correspondingly this property must never return NULL value, as ShapeDrawingOptions class is created for each shapefile automatically.

Syntax

return


SelectNone

Unselects all the shapes in the shapefile. The shapes are drawn with their common drawing options.

Syntax

return


ShapeSelected

Allows to get or set the state of selection of the shape with given ShapeIndex. If ShapeIndex is inappropriate an error will be returned through LastErrorCode property.

Syntax

Parameters

return

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:Shapefile_Selection"

This page has been accessed 587 times. This page was last modified on 11 February 2010, at 14:53.


C# : public virtual void InvertSelection()
VB6: Sub InvertSelection()
C# : public virtual int NumSelected { get; }
VB6: Property NumSelected As Long
C# : public virtual void SelectAll()
VB6: Sub SelectAll()
C# : public virtual MapWinGIS.ShapeDrawingOptions SelectionDrawingOptions { set; get; }
VB6: Property SelectionDrawingOptions As ShapeDrawingOptions
C# : public virtual void SelectNone()
VB6: Sub SelectNone()
C# : public virtual bool get_ShapeSelected(int ShapeIndex)
C# : public virtual void set_ShapeSelected(int ShapeIndex, bool pVal)
VB6: Property ShapeSelected(ShapeIndex As Long) As Boolean
ShapeIndex the index of shape to be accessed.