GM_FindFeaturesFindFeaturesInArea Method
Finds features that are inside the given area feature

Namespace:  GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
public static GM_Error_t32 FindFeaturesInArea(
	GM_LayerList_t aLayerList,
	GM_FindFlags_t32 aFindFlags,
	GM_AreaFeature_t aAreaToSearch,
	GM_Projection_t aAreaProj,
	out GM_FoundFeatureResults_t aResults,
	Object aReserved
)

Parameters

aLayerList
Type: GlobalMapperGM_LayerList_t
IN: List of layers to search or NULL for all vector layers
aFindFlags
Type: GlobalMapperGM_FindFlags_t32
IN: Flags controlling how the find is performed
aAreaToSearch
Type: GlobalMapperGM_AreaFeature_t
IN: Area feature to search (use GM_GetAreaFeature to get from loaded layer)
aAreaProj
Type: GlobalMapperGM_Projection_t
IN: Projection of coordinates in area feature (use GM_GetLayerInfo()->mNativeProj to get layer projection)
aResults
Type: GlobalMapperGM_FoundFeatureResults_t
OUT: Results of find operation (use GM_FreeFeatureResultList to free when done)
aReserved
Type: SystemObject
IN: Reserved for later use, must be NULL (0)

Return Value

Type: GM_Error_t32
A GM Error Code
See Also