- globalmapper.IsHoleInAreaDeleted(GM_LayerHandle_t32 aLayer, uint32 aAreaIndex, uint32 aHoleIndex) GM_Error_t32, bool[source]
-
Queries the delete status of a hole / island in a given area feature. Use the DeleteHoleInArea function to change the delete status of an area hole.
- Parameters:
-
aLayer (GM_LayerHandle_t32) – Layer the area is in
aAreaIndex (uint32) – 0-based index of area in layer
aHoleIndex (uint32) – 0-based index of hole / island in area
- Returns:
-
Error Code
- Return type:
-
GM_Error_t32
- Returns:
-
1 if marked as deleted, 0 if not
- Return type:
-
bool
Example
The following is an example of IsHoleInAreaDeleted.:
gm.IsHoleInAreaDeleted(layers_list[0], i, j)
For more context refer to the vector layer editing sample scripts.
Comments
0 comments
Please sign in to leave a comment.