MapWinGIS:Labels Selection of labels

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

Select

Returns the indices of all labels that fall inside specified bounding box. The bounding box must be defined in screen pixels.

Syntax

Parameters

Returns

True if at least one label fell into selection and false otherwise. Don't use LabelIndices and PartIndices arrays unless function returned success.

return

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

This page has been accessed 254 times. This page was last modified on 11 February 2010, at 13:17.


C# : bool Select(MapWinGis.Extents BoundingBox, int Tolerance, MapWinGis.SelectMode SelectMode, ref object LabelIndices, ref object PartIndices)
VB6: Function Select(BoundingBox as Extents, [Tolerance as Long], [SelectMode as SelectMode = INTERSECTION], LabelIndices, PartIndices)
BoundingBox bounding box in screen pixels.
Tolerance Optional. The distance in pixels on which bounding box will be extended to include neibouring labels. The default value = 0.
SelectMode Optional. The mode of selection being used. The default value = INTERSECTION.
LabelIndices the array which will return indices of labels that fall into selection.
PartIndices the array which will return part index for each label from the LabelIndices array.